Remove duplicate keycode constant for Numpad Enter key.
This commit is contained in:
parent
ccb17c2b27
commit
7de7ca8ae4
6 changed files with 1 additions and 9 deletions
|
|
@ -512,7 +512,7 @@ static int translateKey(unsigned int key) {
|
|||
/* 49 */ KEY_UNKNOWN, /* VolumeDown */
|
||||
/* 4a */ KEY_UNKNOWN, /* Mute */
|
||||
/* 4b */ KEY_KP_DIVIDE,
|
||||
/* 4c */ KEY_KP_ENTER,
|
||||
/* 4c */ KEY_ENTER,
|
||||
/* 4d */ KEY_UNKNOWN,
|
||||
/* 4e */ KEY_KP_SUBTRACT,
|
||||
/* 4f */ KEY_UNKNOWN,
|
||||
|
|
|
|||
|
|
@ -94,7 +94,6 @@ static _XTranslatePair _xkeysym_to_keycode[] = {
|
|||
//{ XK_KP_Separator, KEY_COMMA },
|
||||
{ XK_KP_Decimal, KEY_KP_PERIOD },
|
||||
{ XK_KP_Delete, KEY_KP_PERIOD },
|
||||
{ XK_KP_Enter, KEY_KP_ENTER },
|
||||
{ XK_KP_Multiply, KEY_KP_MULTIPLY },
|
||||
{ XK_KP_Divide, KEY_KP_DIVIDE },
|
||||
{ XK_KP_Subtract, KEY_KP_SUBTRACT },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue