Ignore some f-keys on Windows CE.

Patch by Lars Munch


SVN revision: 40761
This commit is contained in:
Vincent Torri 2009-05-21 16:08:49 +00:00
parent 51fa69fc9e
commit b72ca778cc
1 changed files with 15 additions and 12 deletions

View File

@ -773,25 +773,28 @@ _ecore_wince_event_keystroke_get(int key,
kc = "";
break;
case VK_F20:
kn = "F20";
ks = "F20";
kc = "";
break;
/*
* VK_F20 indicates that an arrow key came from a rocker.
* This can safely be ignored.
*/
return 0;
case VK_F21:
kn = "F21";
ks = "F21";
kc = "";
break;
/*
* VK_F21 indicates that an arrow key came from a directional
* pad. This can safely be ignored.
*/
return 0;
case VK_F22:
kn = "F22";
ks = "F22";
kc = "";
break;
case VK_F23:
kn = "F23";
ks = "F23";
kc = "";
break;
/*
* Sent with VK_RETURN when doing an action (usually the middle
* button on a directional pad. This can safely be ignored.
*/
return 0;
case VK_F24:
kn = "F24";
ks = "F24";