rcinput: add braille dot keys for usage with programmable remote controls

Origin commit data
------------------
Branch: ni/coolstream
Commit: 991cac0d03
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-06-26 (Mon, 26 Jun 2023)

Origin message was:
------------------
- rcinput: add braille dot keys for usage with programmable remote controls

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-06-26 23:06:33 +02:00
parent 1ea072b9db
commit bf91b8df1a
2 changed files with 44 additions and 0 deletions

View File

@@ -119,6 +119,8 @@ class CRCInput
static const neutrino_msg_t RC_WithData = 0xA0000000; static const neutrino_msg_t RC_WithData = 0xA0000000;
enum enum
{ {
/* RC_0 should be the first entry. See src/create_rcsim_h.sh */
RC_0 = KEY_0, RC_0 = KEY_0,
RC_1 = KEY_1, RC_1 = KEY_1,
RC_2 = KEY_2, RC_2 = KEY_2,
@@ -206,6 +208,17 @@ class CRCInput
RC_f9 = KEY_F9, RC_f9 = KEY_F9,
RC_f10 = KEY_F10, 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_on = KEY_POWERON,
RC_power_off = KEY_POWEROFF, RC_power_off = KEY_POWEROFF,
RC_standby_on = KEY_STANDBYON, RC_standby_on = KEY_STANDBYON,

View File

@@ -73,6 +73,37 @@
#define KEY_VOD 0x273 #define KEY_VOD 0x273
#endif #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_POWERON KEY_FN_F1
#define KEY_POWEROFF KEY_FN_F2 #define KEY_POWEROFF KEY_FN_F2
#define KEY_STANDBYON KEY_FN_F3 #define KEY_STANDBYON KEY_FN_F3