#include <PowerMateSupport.h>

Public Types | |
| enum | EventType { MOTION, BUTTON_DOWN, BUTTON_UP, UNKNOWN } |
Public Member Functions | |
| typedef void | DeviceEventHandler (void *userData, EventType type, short int value) |
| HIDPowerMate () | |
| ~HIDPowerMate () | |
| bool | enable (DeviceEventHandler *cb, void *userData) |
| void | disable () |
| void | setLEDBrightness (UInt8 value) |
| void | enableLEDPulse (bool trueOrFalse) |
| void | setLEDPulseSpeed (UInt8 value) |
Static Public Member Functions | |
| static bool | exists () |
Definition at line 12 of file PowerMateSupport.h.
| HIDPowerMate::HIDPowerMate | ( | ) |
| HIDPowerMate::~HIDPowerMate | ( | ) |
| typedef void HIDPowerMate::DeviceEventHandler | ( | void * | userData, | |
| EventType | type, | |||
| short int | value | |||
| ) |
| void HIDPowerMate::disable | ( | ) | [virtual] |
Reimplemented from HIDCore.
| bool HIDPowerMate::enable | ( | DeviceEventHandler * | cb, | |
| void * | userData | |||
| ) |
| void HIDPowerMate::enableLEDPulse | ( | bool | trueOrFalse | ) |
| static bool HIDPowerMate::exists | ( | ) | [static] |
| void HIDPowerMate::setLEDBrightness | ( | UInt8 | value | ) |
| void HIDPowerMate::setLEDPulseSpeed | ( | UInt8 | value | ) |
1.5.8