diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-07 09:17:51 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-07 09:17:51 +0000 |
| commit | 45442377fc854e7224605085375e75f958aa5722 (patch) | |
| tree | ffeb6c553c7841453d808a57a906bfe63c5ac2fa /lib/driver/rc.h | |
| parent | 164779f4a960754a7d18d5947c43df1e26963a89 (diff) | |
| download | enigma2-45442377fc854e7224605085375e75f958aa5722.tar.gz enigma2-45442377fc854e7224605085375e75f958aa5722.zip | |
make some functions accessible from python
Diffstat (limited to 'lib/driver/rc.h')
| -rw-r--r-- | lib/driver/rc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/driver/rc.h b/lib/driver/rc.h index e9542ca8..6653189a 100644 --- a/lib/driver/rc.h +++ b/lib/driver/rc.h @@ -127,7 +127,8 @@ public: enum { flagBreak=1, - flagRepeat=2 + flagRepeat=2, + flagAscii=4 }; bool operator<(const eRCKey &r) const @@ -215,10 +216,6 @@ public: lock the console and pass this as the console fd for making the tc* stuff working. */ - - enum { kmNone, kmAscii, kmAll }; - void setKeyboardMode(int mode) { keyboardMode = mode; } - int getKeyboardMode() { return keyboardMode; } void keyPressed(const eRCKey &key) { @@ -232,6 +229,9 @@ public: eRCConfig config; #endif + enum { kmNone, kmAscii, kmAll }; + void setKeyboardMode(int mode) { keyboardMode = mode; } + int getKeyboardMode() { return keyboardMode; } static eRCInput *getInstance() { return instance; } int lock(); void unlock(); |
