add space key support on Windows

SVN revision: 56196
This commit is contained in:
Vincent Torri 2011-01-16 18:48:08 +00:00
parent 6aa141ea7e
commit da5549086a
2 changed files with 19 additions and 0 deletions

View File

@ -798,6 +798,10 @@ _ecore_win32_event_keystroke_get(int key,
kc = "KP_Delete";
}
break;
case VK_SPACE:
kn = "space";
ks = "space";
kc = "space";
case VK_F1:
kn = "F1";
ks = "F1";
@ -986,6 +990,11 @@ _ecore_win32_event_char_get(int key,
strncpy(ks, "Escape", 32);
strncpy(kc, "Escape", 32);
break;
case VK_SPACE:
strncpy(kn, "space", 32);
strncpy(ks, "space", 32);
strncpy(kc, "space", 32);
break;
default:
/* displayable characters */
printf (" * key : %d\n", key);

View File

@ -123,6 +123,11 @@ _ecore_wince_event_keystroke_get(int key,
ks = "Delete";
kc = "Delete";
break;
case VK_SPACE:
kn = "space";
ks = "space";
kc = "space";
break;
case VK_F1:
kn = "F1";
ks = "F1";
@ -329,6 +334,11 @@ _ecore_wince_event_char_get(int key,
strncpy(ks, "Escape", 32);
strncpy(kc, "Escape", 32);
break;
case VK_SPACE:
strncpy(kn, "space", 32);
strncpy(ks, "space", 32);
strncpy(kc, "space", 32);
break;
default:
/* displayable characters */
printf (" * key : %d\n", key);