Changes between Version 6 and Version 7 of libwiimote
- Timestamp:
- 02/28/07 22:29:06 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
libwiimote
v6 v7 7 7 }}} 8 8 ==== Parameters ==== 9 bdaddr:: in:bluetooth device address of the wiimote. Use `*BDADDR_ANY` to connect to the any (one) available wiimote.10 mesg_callback:: in: message callback function11 id:: out: `NULL`, or pointer tounique id9 bdaddr:: bluetooth device address of the wiimote. Use `*BDADDR_ANY` to connect to the any (one) available wiimote. 10 mesg_callback:: [wiki:libwiimote#wiimote_message_callback message callback function] 11 id:: `NULL`, or pointer to be populated with unique id 12 12 ==== Description ==== 13 13 Connect to a wiimote. … … 97 97 ==== Return Value ==== 98 98 zero on success or nonzero on error 99 ---- 100 101 === wiimote_mesg_callback === 102 ==== Synopsis ==== 103 {{{ 104 #!c 105 void wiimote_mesg_callback_t(int id, int mesg_count, union wiimote_mesg* mesg[]) 106 }}} 107 ==== Parameters ==== 108 id:: unique wiimote identifier 109 mesg_count:: count of elements in mesg array 110 mesg:: array of pointers to wiimote messages 111 ==== Description ==== 112 A pointer to a function of this type is passed to [wiki:libwiimote#wiimote_connect wiimote_connect], and is called when data is received from wiimote for which reporting has been enabled with [wiki:libwiimote#wiimote_command wiimote_command].
