Gestro
|
A wrapper class for Keyboard Event. More...
#include <KeyboardAction.h>
Public Member Functions | |
KeyboardAction (Display *d) | |
void | pressKey (int k) |
Private Attributes | |
Display * | display |
A pointer to the display. More... | |
A wrapper class for Keyboard Event.
Definition at line 9 of file KeyboardAction.h.
KeyboardAction::KeyboardAction | ( | Display * | d | ) |
Constructor It takes a Display object as an argument and assigns it to the display variable.
d | The display to use. |
Definition at line 5 of file KeyboardAction.cpp.
void KeyboardAction::pressKey | ( | int | k | ) |
Wrapper function for pressing Button
k | the keycode of the button to press. |
Definition at line 9 of file KeyboardAction.cpp.
|
private |
A pointer to the display.
Definition at line 12 of file KeyboardAction.h.