Changes between Version 2 and Version 3 of libwiimote

Show
Ignore:
Timestamp:
02/28/07 16:49:26 (6 years ago)
Author:
dsmith
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • libwiimote

    v2 v3  
    66wiimote_t *wiimote_connect(bdaddr_t bdaddr, wiimote_mesg_callback_t *mesg_callback, int *id); 
    77}}} 
    8  
    98==== Description ==== 
    109Connect to a wiimote. 
    11  
    1210==== Parameters ==== 
    1311 bdaddr:: 
     
    1715 id:: 
    1816  out: `NULL`, or pointer to unique id 
    19  
    2017==== Return Value ==== 
    2118wiimote handle, or NULL on error 
     19---- 
    2220 
    2321=== wiimote_disconnect === 
     
    2725int wiimote_disconnect(wiimote_t *wiimote); 
    2826}}} 
    29  
    3027==== Description ==== 
    3128Disconnect from a wiimote. 
    32  
    3329==== Parameters ==== 
    3430 wiimote:: 
    3531  wiimote handle 
    36  
    3732==== Return Value ==== 
    3833zero on success, nonzero on error 
     34---- 
    3935 
    4036=== wiimote_command === 
     
    4440int wiimote_command(wiimote_t *wiimote, enum wiimote_command command, unsigned char flags); 
    4541}}} 
    46  
    4742==== Description ==== 
    4843Issue a command to a wiimote. 
    49  
    5044==== Parameters ==== 
    5145 wiimote:: 
     
    5650  * WIIMOTE_CMD_LED:: 
    5751      Set the LED state 
     52---- 
    5853 
    5954{{{