diff options
author | Thomas Goirand <zigo@debian.org> | 2013-05-26 00:08:39 +0800 |
---|---|---|
committer | Jeremy White <jwhite@codeweavers.com> | 2013-05-28 09:14:46 -0500 |
commit | 2f5c7f7ab098bed16ef3e6ba3995eb051af22818 (patch) | |
tree | cd0d83462a833643dcef0c0af7393a1f366d0a6f /utils.js | |
parent | 07c63c968c4cedfedb76998d6bc8511a6c578d0d (diff) |
Adds missing mapping of the alphanumeric minus key. (spice-html5)
Hi,
I'm the Debian Developer working on spice-html5 (eg: I uploaded
spice-html5 recently in Debian Sid).
I noticed that the minus key on the alphanumeric block wasn't mapped.
This was particularly annoying on my laptop keyboard when using
spice-html5 to access remote servers (eg: many commands needs argument
with the minus sign), with the "no map for 173" alert box popping each
time...
The attached patch made it work with Firefox 21 (in fact, Iceweasel 21
in Debian). I don't know if it works on other browsers, but it worked
for me.
Cheers,
Thomas Goirand (zigo)
From ad9d69eb09f63538db06664a3d88d48ff56b2abb Mon Sep 17 00:00:00 2001
From: Thomas Goirand <thomas@goirand.fr>
Date: Sat, 25 May 2013 23:56:14 +0800
Subject: [PATCH] Adds missing mapping of the alphanumeric minus key.
Diffstat (limited to 'utils.js')
-rw-r--r-- | utils.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -208,6 +208,7 @@ common_scanmap[93] = 0xE05D; //KEY_Menu /* Firefox/Mozilla codes */ var firefox_scanmap = []; +firefox_scanmap[173] = KEY_Minus; firefox_scanmap[109] = KEY_Minus; firefox_scanmap[61] = KEY_Equal; firefox_scanmap[59] = KEY_SemiColon; |