X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c4f2b9b542581bf518bc36476e11ec15074f99b4..2b557e7ef4b0518736c5162a501cd9bc743930b3:/lib/driver/rc.h 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();