|
Public Member Functions |
| | omKeyboardDriver (omObject *, omObject *, int, long, long, long, long, long, bool, bool) |
| | ~omKeyboardDriver () |
| void | SetOnPress (bool) |
| void | SetGrabKeys (bool) |
| void | Start () |
| void | Stop () |
| void | GrabActionKeys () |
| void | UngrabActionKeys () |
| | This function is used to ungrab the control of the action keys.
|
| void | FlushKeysState () |
Data Fields |
| omObject * | toInform |
| | Object to send event to.
|
| omObject * | executorController |
| | Object that controls the OpenMAIA executor class.
|
Private Member Functions |
| void | Notify () |
| | override the Notify method of the wxTimer parent
|
| void | SystemDependentConstructor () |
| | System dependent part of constructor see in x11 or windows folder.
|
| void | SystemDependentNotify () |
| | System dependent notify method.
|
| void | SDFlushKey (long, bool *) |
| | System dependent flush key method.
|
| void | SDGrabActionKeys () |
| | System dependent GrabActionKey method.
|
| void | SDUngrabActionKeys () |
| | System dependent UngrabActionKey method.
|
| void | SDFlushKeysState () |
| | System dependent FlushKeysState method.
|
| void | SDDestructor () |
| | System dependent Destructor.
|
Private Attributes |
| long | actionKey |
| | OpenMAIA ACTION key code.
|
| long | upKey |
| | OpenMAIA UP key code.
|
| long | downKey |
| | OpenMAIA DOWN key code.,.
|
| long | leftKey |
| | OpenMAIA LEFT key code.
|
| long | rightKey |
| | OpenMAIA RIGHT key code.
|
| bool | grabKeys |
| | Flag.
|
| bool | actionOnPress |
| | Flag.
|
| void * | systemDependentData |
| long | maiaKeyCode [MAXMAIACODES] |
| | Keycodes hash table.
|
| int | tickTime |
| | Timer period.
|
This class is a driver used to interface a standard keyboard with the OpenMAIA system.
Some keys of a standard keyboard can be used to generate events for OpenMAIA Applications.
This driver can handle the status of 5 keys and generate OpenMAIA events to an object according with these keys status.
The code of the keys used to generate events is passed via the constructor of the class according with OpenMAIA Key codes avaiable in the omemukeys.h header file.