[IMPROVE] input devices for M0 3.10 support 72/14172/2
authorNikita Kalyazin <n.kalyazin@samsung.com>
Thu, 26 Dec 2013 08:49:34 +0000 (12:49 +0400)
committerNikita Kalyazin <n.kalyazin@samsung.com>
Thu, 26 Dec 2013 14:05:16 +0000 (18:05 +0400)
Change-Id: I0b990345f0a8e874a301c774746fe06e924e987d
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
daemon/daemon.c

index e237935..d583815 100644 (file)
@@ -81,15 +81,26 @@ input_dev g_key_dev[MAX_DEVICE];
 input_dev g_touch_dev[MAX_DEVICE];
 
 const char *input_key_devices[] = {
-       "gpio-keys",            //device
-       "melfas-touchkey",      //device
-       "Maru Virtio Hwkey",    //virtual
+       /* target: Emulator, kernel: 3.4, all buttons */
+       "Maru Virtio Hwkey",
+       /* target: M0, kernel: 3.0, buttons: volume +/-, home, power */
+       "gpio-keys",
+       /* target: M0, kernel: 3.0, buttons: menu, back */
+       "melfas-touchkey",
+       /* target: M0, kernel: 3.10, buttons: menu, back */
+       "MELFAS MCS Touchkey",
+       /* target: M0, kernel: 3.10, buttons: volume +/-, home, power */
+       "gpio-keys.5",
        NULL                    //array tail
 };
 
 const char *input_touch_devices[] = {
-       "sec_touchscreen",              //device
-       "Maru Virtio Touchscreen",      //virtual
+       /* target: Emulator, kernel: 3.0 */
+       "Maru Virtio Touchscreen",
+       /* target: M0, kernel: 3.0 */
+       "sec_touchscreen",
+       /* target: M0, kernel: 3.10 */
+       "MELPAS MMS114 Touchscreen",
        NULL                            //array tail
 };