From 21ffb607d08a4a84a23101a315469079e97c5c05 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 6 Mar 2013 15:42:23 +0400 Subject: [PATCH] driver/rcinput.cpp: add missing sleep, sub, pos keys Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/65bd112d7893903e4e086e78a5ef74b2f79f9d24 Author: [CST] Focus Date: 2013-03-06 (Wed, 06 Mar 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/rcinput.cpp | 8 +++++++- src/driver/rcinput.h | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index 9794c80fc..ef784b22f 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1511,7 +1511,13 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key) case RC_analog_off: return "analog off"; case RC_www: - return "window print"; + return "www"; + case RC_sub: + return "sub"; + case RC_pos: + return "pos"; + case RC_sleep: + return "sleep"; default: printf("unknown key: %d (0x%x) \n", key, key); return "unknown"; diff --git a/src/driver/rcinput.h b/src/driver/rcinput.h index 1591461d4..2b39ada3d 100644 --- a/src/driver/rcinput.h +++ b/src/driver/rcinput.h @@ -232,6 +232,9 @@ class CRCInput RC_next = KEY_NEXT, RC_prev = KEY_PREVIOUS, RC_www = KEY_WWW, + RC_sub = KEY_SUBTITLE, + RC_pos = KEY_MOVE, + RC_sleep = KEY_SLEEP, RC_power_on = KEY_POWERON, RC_power_off = KEY_POWEROFF,