[Spice-devel] spice html5 keyboard issues

Karim Boumedhel karim at redhat.com
Fri Oct 18 17:04:57 CEST 2013


well that s weird, im using firefox too
and add the mapping there, but wouldnt work. the following change solves 
the problem for me though
/firefox_scanmap[173]                  = 0x4a;/

regards,

On 10/18/2013 05:00 PM, Marc-André Lureau wrote:
>
> ----- Original Message -----
>> hi List,
>> I get a "no map for 173" error when touching the minus key on recent browsers
>> and on a spanish browser.
>> I know there are known issues regarding translation of web key codes into
>> scan codes and am eager to help solving this , a precedent thread pointed
>> editing utils.js but could we get more details on what needs to be done?
> In util.js, above get_scancode(), you have several hard-coded mapping table.
>
> If the common_scanmap[] table doesn't have that value, it will check one of the other two tables, firefox_scanmap[] and DOM_scanmap[]
>
> Apparently, only firefox_scanmap[] has a mapping for code key 173, and I tested it on f19 with spanish keyboard, that worked.
>
> What browser are you using?

-- 
*Karim Boumedhel*
Red Hat Senior Consultant, RHCA
Cell: +34 676389555
Email: karim at redhat.com <mailto:karim at redhat.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131018/3667ee43/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.jpg
Type: image/jpeg
Size: 11815 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131018/3667ee43/attachment.jpg>


More information about the Spice-devel mailing list