summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChidambar Zinnoury <chidambar.zinnoury@zefla.fr>2016-11-18 17:44:33 +0100
committerChidambar Zinnoury <chidambar.zinnoury@zefla.fr>2016-11-18 17:51:16 +0100
commit2bd5259d6c7bf010431ede57212720069e756815 (patch)
tree5c06d766d23b72cab289a2053fcdfcf48716b386
parent4c35f0ab02872e232bea543649c9e44631dc7a35 (diff)
ecore fb: Add the following sixteen known keys to the list.
-rw-r--r--src/lib/ecore_fb/ecore_fb_keytable.h16
-rw-r--r--src/lib/ecore_fb/ecore_fb_li.c4
2 files changed, 18 insertions, 2 deletions
diff --git a/src/lib/ecore_fb/ecore_fb_keytable.h b/src/lib/ecore_fb/ecore_fb_keytable.h
index 0dd576df53..4cf6cb9455 100644
--- a/src/lib/ecore_fb/ecore_fb_keytable.h
+++ b/src/lib/ecore_fb/ecore_fb_keytable.h
@@ -127,3 +127,19 @@
127 "Super_L", "Super_L", "Super_L", /**/"", "", "", NULL,/***/ 127 "Super_L", "Super_L", "Super_L", /**/"", "", "", NULL,/***/
128 "Super_R", "Super_R", "Super_R", /**/"", "", "", NULL,/***/ 128 "Super_R", "Super_R", "Super_R", /**/"", "", "", NULL,/***/
129 "Compose", "Compose", "Compose", /**/"", "", "", NULL,/***/ 129 "Compose", "Compose", "Compose", /**/"", "", "", NULL,/***/
130 "Stop", "Stop", "Stop", /**/"", "", "", NULL,/***/
131 "Again", "Again", "Again", /**/"", "", "", NULL,/***/
132 "Props", "Props", "Props", /**/"", "", "", NULL,/***/
133 "Undo", "Undo", "Undo", /**/"", "", "", NULL,/***/
134 "Front", "Front", "Front", /**/"", "", "", NULL,/***/
135 "Copy", "Copy", "Copy", /**/"", "", "", NULL,/***/
136 "Open", "Open", "Open", /**/"", "", "", NULL,/***/
137 "Paste", "Paste", "Paste", /**/"", "", "", NULL,/***/
138 "Find", "Find", "Find", /**/"", "", "", NULL,/***/
139 "Cut", "Cut", "Cut", /**/"", "", "", NULL,/***/
140 "Help", "Help", "Help", /**/"", "", "", NULL,/***/
141 "Menu", "Menu", "Menu", /**/"", "", "", NULL,/***/
142 "Calc", "Calc", "Calc", /**/"", "", "", NULL,/***/
143 "Setup", "Setup", "Setup", /**/"", "", "", NULL,/***/
144 "Sleep", "Sleep", "Sleep", /**/"", "", "", NULL,/***/
145 "WakeUp", "WakeUp", "WakeUp", /**/"", "", "", NULL,/***/
diff --git a/src/lib/ecore_fb/ecore_fb_li.c b/src/lib/ecore_fb/ecore_fb_li.c
index 838576278a..ec50a10c7a 100644
--- a/src/lib/ecore_fb/ecore_fb_li.c
+++ b/src/lib/ecore_fb/ecore_fb_li.c
@@ -11,7 +11,7 @@
11 11
12static Eina_List *_ecore_fb_li_devices = NULL; 12static Eina_List *_ecore_fb_li_devices = NULL;
13 13
14static const char *_ecore_fb_li_kbd_syms[128 * 7] = 14static const char *_ecore_fb_li_kbd_syms[144 * 7] =
15{ 15{
16#include "ecore_fb_keytable.h" 16#include "ecore_fb_keytable.h"
17}; 17};
@@ -43,7 +43,7 @@ _ecore_fb_li_device_event_key(Ecore_Fb_Input_Device *dev, struct input_event *ie
43 if (!dev->listen) return; 43 if (!dev->listen) return;
44 44
45 /* check for basic keyboard keys */ 45 /* check for basic keyboard keys */
46 if ((iev->code >= KEY_ESC) && (iev->code <= KEY_COMPOSE)) 46 if ((iev->code >= KEY_ESC) && (iev->code <= KEY_WAKEUP))
47 { 47 {
48 int offset = 0; 48 int offset = 0;
49 const char *keyname = _ecore_fb_li_kbd_syms[iev->code * 7]; 49 const char *keyname = _ecore_fb_li_kbd_syms[iev->code * 7];