Skip to content
Snippets Groups Projects
Commit bd96ebe0 authored by Jeremy White's avatar Jeremy White Committed by Frediano Ziglio
Browse files

Support the keypad minus key in Chrome.


The keypad minus key at 109 is common between at least Chrome and Firefox.

Signed-off-by: default avatarJeremy White <jwhite@codeweavers.com>
Acked-by: default avatarFrediano Ziglio <fziglio@redhat.com>
parent c4e5fd1c
No related branches found
No related tags found
No related merge requests found
...@@ -211,6 +211,7 @@ common_scanmap[97] = KeyNames.KEY_KP_1; ...@@ -211,6 +211,7 @@ common_scanmap[97] = KeyNames.KEY_KP_1;
common_scanmap[98] = KeyNames.KEY_KP_2; common_scanmap[98] = KeyNames.KEY_KP_2;
common_scanmap[99] = KeyNames.KEY_KP_3; common_scanmap[99] = KeyNames.KEY_KP_3;
common_scanmap[96] = KeyNames.KEY_KP_0; common_scanmap[96] = KeyNames.KEY_KP_0;
common_scanmap[109] = KeyNames.KEY_Minus;
common_scanmap[110] = KeyNames.KEY_KP_Decimal; common_scanmap[110] = KeyNames.KEY_KP_Decimal;
common_scanmap[191] = KeyNames.KEY_Slash; common_scanmap[191] = KeyNames.KEY_Slash;
common_scanmap[190] = KeyNames.KEY_Period; common_scanmap[190] = KeyNames.KEY_Period;
...@@ -228,7 +229,6 @@ common_scanmap[93] = 0xE05D; //KeyNames.KEY_Menu ...@@ -228,7 +229,6 @@ common_scanmap[93] = 0xE05D; //KeyNames.KEY_Menu
/* Firefox/Mozilla codes */ /* Firefox/Mozilla codes */
var firefox_scanmap = []; var firefox_scanmap = [];
firefox_scanmap[173] = KeyNames.KEY_Minus; firefox_scanmap[173] = KeyNames.KEY_Minus;
firefox_scanmap[109] = KeyNames.KEY_Minus;
firefox_scanmap[61] = KeyNames.KEY_Equal; firefox_scanmap[61] = KeyNames.KEY_Equal;
firefox_scanmap[59] = KeyNames.KEY_SemiColon; firefox_scanmap[59] = KeyNames.KEY_SemiColon;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment