X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c4f2b9b542581bf518bc36476e11ec15074f99b4..264a9475f5b02bef1e58d5f39d095277ffbda35b:/lib/driver/rc.h?ds=sidebyside 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();