git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
translate weekdays in fuzzy date display
[enigma2.git]
/
lib
/
driver
/
rc.h
diff --git
a/lib/driver/rc.h
b/lib/driver/rc.h
index e9542ca8facdea18cb5fa2ed580894eafd5d207e..909ebaee706ff5c831612ea469c343be8a4fbd56 100644
(file)
--- a/
lib/driver/rc.h
+++ b/
lib/driver/rc.h
@@
-126,10
+126,15
@@
public:
}
enum
{
}
enum
{
+ /* there are not really flags.. */
+ flagMake=0,
flagBreak=1,
flagBreak=1,
- flagRepeat=2
+ flagRepeat=2,
+ flagLong=3,
+ /* but this is. */
+ flagAscii=4,
};
};
-
+
bool operator<(const eRCKey &r) const
{
if (r.producer == producer)
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.
*/
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)
{
void keyPressed(const eRCKey &key)
{
@@
-232,6
+233,9
@@
public:
eRCConfig config;
#endif
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();
static eRCInput *getInstance() { return instance; }
int lock();
void unlock();