[Spice-devel] spice html5 keyboard issues

Karim Boumedhel kboumedh at redhat.com
Fri Oct 18 18:18:54 CEST 2013


Im using last version.
I suspect it really depends on the kind of keyboard you re using.
I ve got a spanish laptop but im having the same issue on my home s pc...

Karim Boumedhel
Red Hat Senior Consultant, RHCA
Cell: +34 676389555
Email: karim at redhat.com


-----Original Message-----
From: Marc-André Lureau [mlureau at redhat.com]
Received: Viernes, 18 Oct 2013, 17:10
To: Karim Boumedhel [karim at redhat.com]
CC: spice-devel at lists.freedesktop.org
Subject: Re: [Spice-devel] spice html5  keyboard issues




----- Original Message -----
> 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;/

Ah, then it was fixed some time ago:
http://cgit.freedesktop.org/spice/spice-html5/commit/?id=2f5c7f7ab098bed16ef3e6ba3995eb051af22818

Are you testing spice-html5-0.1.4 ?

> 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>
> 
> 


More information about the Spice-devel mailing list