diff --git a/src/driver/rcinput.h b/src/driver/rcinput.h index 91eb31a16..9dfd0c657 100644 --- a/src/driver/rcinput.h +++ b/src/driver/rcinput.h @@ -119,6 +119,8 @@ class CRCInput static const neutrino_msg_t RC_WithData = 0xA0000000; enum { + /* RC_0 should be the first entry. See src/create_rcsim_h.sh */ + RC_0 = KEY_0, RC_1 = KEY_1, RC_2 = KEY_2, @@ -206,6 +208,17 @@ class CRCInput RC_f9 = KEY_F9, RC_f10 = KEY_F10, + RC_braille_dot1 = KEY_BRL_DOT1, + RC_braille_dot2 = KEY_BRL_DOT2, + RC_braille_dot3 = KEY_BRL_DOT3, + RC_braille_dot4 = KEY_BRL_DOT4, + RC_braille_dot5 = KEY_BRL_DOT5, + RC_braille_dot6 = KEY_BRL_DOT6, + RC_braille_dot7 = KEY_BRL_DOT7, + RC_braille_dot8 = KEY_BRL_DOT8, + RC_braille_dot9 = KEY_BRL_DOT9, + RC_braille_dot10 = KEY_BRL_DOT10, + RC_power_on = KEY_POWERON, RC_power_off = KEY_POWEROFF, RC_standby_on = KEY_STANDBYON, diff --git a/src/driver/rcinput_fake.h b/src/driver/rcinput_fake.h index 3f9ba1400..80064fda8 100644 --- a/src/driver/rcinput_fake.h +++ b/src/driver/rcinput_fake.h @@ -73,6 +73,37 @@ #define KEY_VOD 0x273 #endif +#ifndef KEY_BRL_DOT1 +#define KEY_BRL_DOT1 0x1f1 +#endif +#ifndef KEY_BRL_DOT2 +#define KEY_BRL_DOT2 0x1f2 +#endif +#ifndef KEY_BRL_DOT3 +#define KEY_BRL_DOT3 0x1f3 +#endif +#ifndef KEY_BRL_DOT4 +#define KEY_BRL_DOT4 0x1f4 +#endif +#ifndef KEY_BRL_DOT5 +#define KEY_BRL_DOT5 0x1f5 +#endif +#ifndef KEY_BRL_DOT6 +#define KEY_BRL_DOT6 0x1f6 +#endif +#ifndef KEY_BRL_DOT7 +#define KEY_BRL_DOT7 0x1f7 +#endif +#ifndef KEY_BRL_DOT8 +#define KEY_BRL_DOT8 0x1f8 +#endif +#ifndef KEY_BRL_DOT9 +#define KEY_BRL_DOT9 0x1f9 +#endif +#ifndef KEY_BRL_DOT10 +#define KEY_BRL_DOT10 0x1fa +#endif + #define KEY_POWERON KEY_FN_F1 #define KEY_POWEROFF KEY_FN_F2 #define KEY_STANDBYON KEY_FN_F3