ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/apps/equate.git/commit/?id=fcdd86a62a1a1015f7d98a6e6ea28bc363ec07d3

commit fcdd86a62a1a1015f7d98a6e6ea28bc363ec07d3
Author: Andy Williams <[email protected]>
Date:   Thu Feb 27 23:04:38 2014 +0000

    respond to keypad decimal
    
    Added the KP_Decimal signal to the list of items that create a '.'.
    Also remove some loud debug
---
 src/main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index acdd42b..ba47460 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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))

-- 


Reply via email to