#include <HardKeyManager.h>
Static Public Methods | |
| void | captureHardKeys () |
| Prepare the hard keys for polling (i.e. More... | |
| void | releaseHardKeys () |
| Return the hard keys to event generation mode. More... | |
| UInt32 | getCurrentState () |
| Get the current state of the hard keys. More... | |
| void | setMask (UInt32 mask) |
| Express your interest in the keys specified by the mask. More... | |
Friends | |
| class | Presentation |
It can prevent them from switching apps, it can modify their repeat rate, and it can poll their state.
Definition at line 36 of file HardKeyManager.h.
|
|
Prepare the hard keys for polling (i.e. turn off event generation). Idempotent. Definition at line 45 of file HardKeyManager.cpp. Referenced by Presentation::begin(), and Presentation::resume(). |
|
|
Get the current state of the hard keys. The result will be identical to that from the KeyCurrentState() PalmOS call.
Definition at line 59 of file HardKeyManager.cpp. Referenced by DemoActionEngine::nextPeriod(). |
|
|
Return the hard keys to event generation mode. Idempotent. Definition at line 52 of file HardKeyManager.cpp. Referenced by Presentation::pause(). |
|
|
Express your interest in the keys specified by the mask.
Definition at line 65 of file HardKeyManager.cpp. |
|
|
Definition at line 102 of file HardKeyManager.h. |