Re: [hatari-devel] alt-gr not recognized anymore with sdl2

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


----- Thomas Huth wrote:
> On 27.01.2016 01:24, David Savinkoff wrote:
> > ----- Nicolas Pomarède wrote:
> >> Le 26/01/2016 23:26, Thomas Huth a écrit :
> >>
> >>> I just did some bisecting in the background, and for me, it breaks with
> >>> this commit:
> >>>
> >>> http://hg.libsdl.org/SDL/rev/9e8323b058d6
> >>>
> >>> Is somebody already subscribed to the SDL mailing list and could report
> >>> this? If not, I'll maybe do this at the weekend when I got some spare
> >>> minutes...
> >>>
> >>
> >> Seems we came to the same conclusion at the same time :)
> >>
> >> I don't have an account on SDL ML, so if you or someone else can report 
> >> it, that would be nice.
> >>
> >> Nicolas
> >>
> > 
> > Hi,
> > 
> > I have no problems whatsoever with any of Hatari SDL-2.0.4
> > oldcore newcore I compiled new Hatari and new SDL2.
> > I used new SDL-2.0.4 libs with older versions of Hatari compiled
> > with SDL-2.0.3
> > 
> > No problems.
> > 
> > I can Alt-gr + r to reset Hatari. + q to quit.
> > Is there something I'm missing?
> 
>  David,
> 
> could you please run "xev" and tell me what you get when you press
> the right ALT key on your keyboard? You should see something like:
> 
> KeyPress event, serial 37, synthetic NO, window 0x3800001,
>     root 0xd6, subw 0x3800002, time 30598513, (53,55), root:(924,502),
>     state 0x10, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
>     XKeysymToKeycode returns keycode: 92
>     XLookupString gives 0 bytes: 
>     XmbLookupString gives 0 bytes: 
>     XFilterEvent returns: False
> 
> (this is what I get)
> 
>  Thanks,
>   Thomas
> 

Hi Thomas,

Note that my laptop has NTSC s-video, and and American keyboard.

***** xev output for Alt_R press and release:

KeyPress event, serial 30, synthetic NO, window 0x3200001,
    root 0x82, subw 0x0, time 713700, (547,-530), root:(582,66),
    state 0x0, keycode 108 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3200001,
    root 0x82, subw 0x0, time 715464, (547,-530), root:(582,66),
    state 0x8, keycode 108 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

*****



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/