Add key definitions for remote controllers 12/37412/2 accepted/tizen_common tizen_3.0.2015.q2_common accepted/tizen/common/20150326.090445 accepted/tizen/mobile/20150403.020640 accepted/tizen/tv/20150403.074458 accepted/tizen/wearable/20150403.020618 submit/tizen/20150326.080302 submit/tizen_mobile/20150402.014335 submit/tizen_tv/20150402.000000 submit/tizen_tv/20150402.014129 submit/tizen_wearable/20150402.014302
authorjhyuni.kang <jhyuni.kang@samsung.com>
Thu, 26 Mar 2015 06:28:35 +0000 (15:28 +0900)
committerjhyuni.kang <jhyuni.kang@samsung.com>
Thu, 26 Mar 2015 06:36:08 +0000 (15:36 +0900)
 - KEY_CHANNELUP
 - KEY_CHANNELDOWN
 - KEY_CLOSE
 - KEY_VIDEOPAUSE
 - KEY_RECORD
 - KEY_TV

Change-Id: I3fbeb51dfd8b894014e87b74d2a6967c8438c864

utilX.h

diff --git a/utilX.h b/utilX.h
index 3919aa7..c5e51d0 100755 (executable)
--- a/utilX.h
+++ b/utilX.h
@@ -211,6 +211,34 @@ extern "C" {
  */
 #define KEY_VOICEWAKEUP                "XF86Launch4"
 
+// Hauppauge remocon keys
+/**
+ * @brief Definition for XKeySym (XServer Key Symbol) corresponding to the 'Channel Up' key.
+ */
+#define KEY_CHANNELUP  "XF86KbdBrightnessUp"
+/**
+ * @brief Definition for XKeySym (XServer Key Symbol) corresponding to the 'Channel Down' key.
+ */
+#define KEY_CHANNELDOWN        "XF86KbdBrightnessDown"
+/**
+ * @brief Definition for XKeySym (XServer Key Symbol) corresponding to the 'Close' key.
+ */
+#define KEY_CLOSE "XF86Close"
+/**
+ * @brief Definition for XKeySym (XServer Key Symbol) corresponding to the 'Video Pause' key.
+ */
+#define KEY_VIDEOPAUSE "Pause"
+/**
+ * @brief Definition for XKeySym (XServer Key Symbol) corresponding to the 'Audio Record' key.
+ */
+#define KEY_RECORD "XF86AudioRecord"
+
+/**
+ * @brief Definition for XKeySym (XServer Key Symbol) corresponding to the 'TV(toggle)' key.
+ */
+#define KEY_TV "XF86Display"
+
+
 /**
  * @brief Definition for the length of a string corresponding to the 'Volume Up' key.
  */
@@ -378,6 +406,33 @@ extern "C" {
  */
 #define LEN_KEY_VOICEWAKEUP                    11
 
+// Hauppauge remocon keys
+/**
+ * @brief Definition for the length of a string corresponding to the 'Channel Up' key.
+ */
+#define LEN_KEY_CHANNELUP      19
+/**
+ * @brief Definition for the length of a string corresponding to the 'Channel Down' key.
+ */
+#define LEN_KEY_CHANNELDOWN    21
+/**
+ * @brief Definition for the length of a string corresponding to the 'Close' key.
+ */
+#define LEN_KEY_CLOSE 9
+/**
+ * @brief Definition for the length of a string corresponding to the 'Video Pause' key.
+ */
+#define LEN_KEY_VIDEOPAUSE 5
+/**
+ * @brief Definition for the length of a string corresponding to the 'Audio Record' key.
+ */
+#define LEN_KEY_RECORD 15
+/**
+ * @brief Definition for the length of a string corresponding to the 'TV(toggle)' key.
+ */
+#define LEN_KEY_TV 11
+
+
 /**
  * @brief Definition for getting the grabbed-key exclusively regardless of its position on the window stack with the possibility of overriding the grab by the other client window mode.
  */