forked from enlightenment/efl
ecore fb: Add the following sixteen known keys to the list.
This commit is contained in:
parent
4c35f0ab02
commit
2bd5259d6c
|
@ -127,3 +127,19 @@
|
||||||
"Super_L", "Super_L", "Super_L", /**/"", "", "", NULL,/***/
|
"Super_L", "Super_L", "Super_L", /**/"", "", "", NULL,/***/
|
||||||
"Super_R", "Super_R", "Super_R", /**/"", "", "", NULL,/***/
|
"Super_R", "Super_R", "Super_R", /**/"", "", "", NULL,/***/
|
||||||
"Compose", "Compose", "Compose", /**/"", "", "", NULL,/***/
|
"Compose", "Compose", "Compose", /**/"", "", "", NULL,/***/
|
||||||
|
"Stop", "Stop", "Stop", /**/"", "", "", NULL,/***/
|
||||||
|
"Again", "Again", "Again", /**/"", "", "", NULL,/***/
|
||||||
|
"Props", "Props", "Props", /**/"", "", "", NULL,/***/
|
||||||
|
"Undo", "Undo", "Undo", /**/"", "", "", NULL,/***/
|
||||||
|
"Front", "Front", "Front", /**/"", "", "", NULL,/***/
|
||||||
|
"Copy", "Copy", "Copy", /**/"", "", "", NULL,/***/
|
||||||
|
"Open", "Open", "Open", /**/"", "", "", NULL,/***/
|
||||||
|
"Paste", "Paste", "Paste", /**/"", "", "", NULL,/***/
|
||||||
|
"Find", "Find", "Find", /**/"", "", "", NULL,/***/
|
||||||
|
"Cut", "Cut", "Cut", /**/"", "", "", NULL,/***/
|
||||||
|
"Help", "Help", "Help", /**/"", "", "", NULL,/***/
|
||||||
|
"Menu", "Menu", "Menu", /**/"", "", "", NULL,/***/
|
||||||
|
"Calc", "Calc", "Calc", /**/"", "", "", NULL,/***/
|
||||||
|
"Setup", "Setup", "Setup", /**/"", "", "", NULL,/***/
|
||||||
|
"Sleep", "Sleep", "Sleep", /**/"", "", "", NULL,/***/
|
||||||
|
"WakeUp", "WakeUp", "WakeUp", /**/"", "", "", NULL,/***/
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
static Eina_List *_ecore_fb_li_devices = NULL;
|
static Eina_List *_ecore_fb_li_devices = NULL;
|
||||||
|
|
||||||
static const char *_ecore_fb_li_kbd_syms[128 * 7] =
|
static const char *_ecore_fb_li_kbd_syms[144 * 7] =
|
||||||
{
|
{
|
||||||
#include "ecore_fb_keytable.h"
|
#include "ecore_fb_keytable.h"
|
||||||
};
|
};
|
||||||
|
@ -43,7 +43,7 @@ _ecore_fb_li_device_event_key(Ecore_Fb_Input_Device *dev, struct input_event *ie
|
||||||
if (!dev->listen) return;
|
if (!dev->listen) return;
|
||||||
|
|
||||||
/* check for basic keyboard keys */
|
/* check for basic keyboard keys */
|
||||||
if ((iev->code >= KEY_ESC) && (iev->code <= KEY_COMPOSE))
|
if ((iev->code >= KEY_ESC) && (iev->code <= KEY_WAKEUP))
|
||||||
{
|
{
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
const char *keyname = _ecore_fb_li_kbd_syms[iev->code * 7];
|
const char *keyname = _ecore_fb_li_kbd_syms[iev->code * 7];
|
||||||
|
|
Loading…
Reference in New Issue