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:
Andy Williams 2014-02-27 23:04:38 +00:00
parent ef2273a281
commit fcdd86a62a
1 changed files with 1 additions and 2 deletions

View File

@ -45,6 +45,7 @@ static const struct
{"Return", OP_EQU},
{"BackSpace", OP_CLR},
{"period", OP_DEC},
{"KP_Decimal", OP_DEC},
{"comma", OP_DEC},
NULL
};
@ -241,8 +242,6 @@ _key_down_cb(void *data, int type, void *event)
Ecore_Event_Key *ev = event;
int i;
printf("{\"%s\", },\n", ev->key);
for (i = 0; _keymap[i].keyname; i++)
{
if (!strcmp(_keymap[i].keyname, ev->key))