X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c4f2b9b542581bf518bc36476e11ec15074f99b4..fed93ee95ab650551d8ef5d0d03e4e57b7f058cc:/lib/driver/rc.h diff --git a/lib/driver/rc.h b/lib/driver/rc.h index e9542ca8..909ebaee 100644 --- a/lib/driver/rc.h +++ b/lib/driver/rc.h @@ -126,10 +126,15 @@ public: } enum { + /* there are not really flags.. */ + flagMake=0, flagBreak=1, - flagRepeat=2 + flagRepeat=2, + flagLong=3, + /* but this is. */ + flagAscii=4, }; - + bool operator<(const eRCKey &r) const { if (r.producer == producer) @@ -215,10 +220,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 +233,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();