From 34d7dbf81b056a80a567b5171ed8487eab47a2fe Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 27 Sep 2022 23:58:23 +0200 Subject: [PATCH] rcinput: add RC_touchpad_toggle and RC_vod Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/72c43ea90dd196acbb8b96f11bc1d97a4ef07c04 Author: vanhofen Date: 2022-09-27 (Tue, 27 Sep 2022) Origin message was: ------------------ - rcinput: add RC_touchpad_toggle and RC_vod ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/rcinput.cpp | 4 ++++ src/driver/rcinput.h | 2 ++ src/driver/rcinput_fake.h | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index f9212610d..cc6054881 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1721,6 +1721,10 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key) return "play / pause"; case RC_pvr: return "pvr"; + case RC_touchpad_toggle: + return "touchpad toggle"; + case RC_vod: + return "vod"; case RC_f1: return "f1"; case RC_f2: diff --git a/src/driver/rcinput.h b/src/driver/rcinput.h index 831d22234..21d3b7b81 100644 --- a/src/driver/rcinput.h +++ b/src/driver/rcinput.h @@ -191,6 +191,8 @@ class CRCInput RC_bookmarks = KEY_BOOKMARKS, RC_program = KEY_PROGRAM, RC_playpause = KEY_PLAYPAUSE, + RC_touchpad_toggle = KEY_TOUCHPAD_TOGGLE, + RC_vod = KEY_VOD, RC_f1 = KEY_F1, RC_f2 = KEY_F2, diff --git a/src/driver/rcinput_fake.h b/src/driver/rcinput_fake.h index 1255e6a8e..3a747e33b 100644 --- a/src/driver/rcinput_fake.h +++ b/src/driver/rcinput_fake.h @@ -65,6 +65,10 @@ #define KEY_BOTTOMRIGHT 0x1a5 #endif +#ifndef KEY_VOD +#define KEY_VOD 0x273 +#endif + #define KEY_POWERON KEY_FN_F1 #define KEY_POWEROFF KEY_FN_F2 #define KEY_STANDBYON KEY_FN_F3