| void IPM_Initialize( |
| ) |
Initialize input manager
| config IPM_Config* | Input manager configuration structure |
| inline void IPM_SetTimer( |
| ) |
Initialize input manager
| doubleClk u8 | Double click timer |
| hold u8 | Hold timer |
Update device manager
| bool IPM_RegisterEvent( |
| ) |
Register a callback to a given device manager's event
| dev u8 | Device ID |
| input u8 | Input ID |
| event u8 | Event ID |
| cb IPM_cb | Callback function |
TRUE if the event was registered, FALSE otherwise
| inline u8 IPM_GetStatus( |
| ) |
Get current device status
| dev u8 | Device ID |
Current device status
| u8 IPM_GetStickDirection( |
| ) |
Get current direction of the given device
| dev u8 | Device ID |
Current device direction
| inline u8 IPM_GetInputState( |
| ) |
Get current device state
| dev u8 | Device ID |
| input u8 | Input ID |
Current device's input state
| inline u8 IPM_GetInputTimer( |
| ) |
Get current device state timer
| dev u8 | Device ID |
| input u8 | Input ID |
Current device's input state timer
| const c8* IPM_GetEventName( |
| ) |
Get event name
| ev u8 | Event ID |
Zero-terminated string containing the event name