}
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)
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)
{
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();