Changes between Version 2 and Version 3 of libwiimote
- Timestamp:
- 02/28/07 16:49:26 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
libwiimote
v2 v3 6 6 wiimote_t *wiimote_connect(bdaddr_t bdaddr, wiimote_mesg_callback_t *mesg_callback, int *id); 7 7 }}} 8 9 8 ==== Description ==== 10 9 Connect to a wiimote. 11 12 10 ==== Parameters ==== 13 11 bdaddr:: … … 17 15 id:: 18 16 out: `NULL`, or pointer to unique id 19 20 17 ==== Return Value ==== 21 18 wiimote handle, or NULL on error 19 ---- 22 20 23 21 === wiimote_disconnect === … … 27 25 int wiimote_disconnect(wiimote_t *wiimote); 28 26 }}} 29 30 27 ==== Description ==== 31 28 Disconnect from a wiimote. 32 33 29 ==== Parameters ==== 34 30 wiimote:: 35 31 wiimote handle 36 37 32 ==== Return Value ==== 38 33 zero on success, nonzero on error 34 ---- 39 35 40 36 === wiimote_command === … … 44 40 int wiimote_command(wiimote_t *wiimote, enum wiimote_command command, unsigned char flags); 45 41 }}} 46 47 42 ==== Description ==== 48 43 Issue a command to a wiimote. 49 50 44 ==== Parameters ==== 51 45 wiimote:: … … 56 50 * WIIMOTE_CMD_LED:: 57 51 Set the LED state 52 ---- 58 53 59 54 {{{
