respond to keypad decimal
Added the KP_Decimal signal to the list of items that create a '.'. Also remove some loud debug
This commit is contained in:
parent
ef2273a281
commit
fcdd86a62a
|
@ -45,6 +45,7 @@ static const struct
|
||||||
{"Return", OP_EQU},
|
{"Return", OP_EQU},
|
||||||
{"BackSpace", OP_CLR},
|
{"BackSpace", OP_CLR},
|
||||||
{"period", OP_DEC},
|
{"period", OP_DEC},
|
||||||
|
{"KP_Decimal", OP_DEC},
|
||||||
{"comma", OP_DEC},
|
{"comma", OP_DEC},
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
@ -241,8 +242,6 @@ _key_down_cb(void *data, int type, void *event)
|
||||||
Ecore_Event_Key *ev = event;
|
Ecore_Event_Key *ev = event;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
printf("{\"%s\", },\n", ev->key);
|
|
||||||
|
|
||||||
for (i = 0; _keymap[i].keyname; i++)
|
for (i = 0; _keymap[i].keyname; i++)
|
||||||
{
|
{
|
||||||
if (!strcmp(_keymap[i].keyname, ev->key))
|
if (!strcmp(_keymap[i].keyname, ev->key))
|
||||||
|
|
Loading…
Reference in New Issue