| 
    Laxkit
    0.0.7.1
    
   | 
 
Class to use Wiimotes from lax based programs. More...
Public Member Functions | |
| virtual int | IsOpen () | 
| virtual int | Connect () | 
| Discover and connect to a new Wiimote.  | |
| virtual int | Update () | 
| Return 0 on some kind of error, or 1 for success.  | |
| virtual int | Rumble (int on) | 
| Turn on or off the rumble, or set to turn off after timer microseconds.   | |
| virtual int | Leds (int mask) | 
| Set the leds, with bits 1-4.   | |
| virtual void | Fps (int fps) | 
| Poll the wiimote this many times per second.  | |
| virtual int | NextEvent (int *button, int *value) | 
| Return 1 if there was a next event, else 0.  | |
| void | sleep () | 
Public Attributes | |
| int | poll_time_microseconds | 
Protected Member Functions | |
| void | NewButtonEvent (int keysym, int value) | 
Protected Attributes | |
| wiimote_t * | m_p_wiimote | 
| wiimote_t * | m_p_wiimote_old | 
| int | number | 
| ButtonQueue * | events | 
| ButtonQueue * | ee | 
| double | ir_transform [16] | 
Class to use Wiimotes from lax based programs.
Set the leds, with bits 1-4.
Return 0 for success or 1 for error.
Turn on or off the rumble, or set to turn off after timer microseconds.
Return 0 for success or 1 for error.