Re: [hatari-devel] alt-gr not recognized anymore with sdl2 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] alt-gr not recognized anymore with sdl2
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Tue, 26 Jan 2016 12:49:24 -0700 (MST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=telus.net; s=neo; t=1453837765; bh=OOQ4Jv5LejOXM7EdO1skY14R5JSvjOnrhNH76Fc+750=; h=Date:From:To:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding; b=edcy6dw86yEuTU/iej3jutfxZp6sGn3kBnBgbrGc3BRK6RBOFc1tgagWxNQ6T46Ds 5LygKjDhyqyBzu5z5Z9WmlD/+LMwYWVoybaJIWxSSlJIzCljiaygX3yXjNALpTWEWA fgpGiAfPa6koPL4KJm3ai4Y+NzyeQeMu3NLiALxJLQcklxEmGbh0N5zwn73YjtBATc Wdz8mT+DFKWYrWk9iUdB3fVG2vgxZ2p9rFgEwnABbo1k+89gVM39b3RF8ZJUE6Untb x202gXMhxarAWN3dPNiK3EmjmuM8ATGzsao+pwbTxTj671CK7+SNFGWrv4f8mfLDWG oBhlx4vlqFXvA==
- Thread-index: VXJ4lVv+jW0a+OwGAYjiNObswgamRQ==
- Thread-topic: alt-gr not recognized anymore with sdl2
----- Nicolas Pomarède wrote:
> Le 18/01/2016 20:53, Thomas Huth a écrit :
> > On 17.01.2016 18:40, Nicolas Pomarède wrote:
> >> Hello
> >>
> >> it seems some of the recent changes broke alt-gr key under linux, when I
> >> use it I now get :
> >>
> >> Warning: Unhandled scancode 0xe6!
> >>
> >> so I'm unable to use shortcut + modifier
> >>
> >> It worked a few days ago with sdl2.
> >>
> >> If I recompile with sdl1, alt-gr works again.
> >
> > Sounds very strange, just like AltGr is not recognized as modifier but
> > only as a "normal" key instead. Did you change anything to your host
> > keyboard mapping? Does it work differntly when you change from scancode
> > mapping to symbolic mapping in the GUI? And what do you get when you run
> > Hatari with "--trace keymap" ?
>
> Hi
>
> changing from scancode to sympbolic doesn't solve the problem ; no
> change were made too host mapping either (if I compile with SDL1,
> everything works as before with the same config).
>
> This is what --trace keymap gives :
>
> press alt-gr :
>
> key down: sym=1073741824 scan=230 mod=0x1000 name=''
> Warning: Unhandled scancode 0xe6!
> key map: sym=0x40000000 to ST-scan=0xff
>
> release alt-gr :
>
> key up: sym=1073741824 scan=230 mod=0x1000 name=''
> Warning: Unhandled scancode 0xe6!
>
> press F12 :
>
> key down: sym=1073741893 scan=69 mod=0x1000 name='F12'
>
>
> I have 2 linux PC with the same problem, but in both cases I had an
> update to the recent sdl 2.0.4 from early january (before I had 2.0.3).
> Maybe 2.0.4 broke sthg ? Can you try installing 2.0.4 to see if you get
> the same problem ?
>
>
> Nicolas
>
Hi,
Alt-gr works for this version of SDL2, thus is good up to this point:
SDL.9893 (SDL2 pre 2.04 from HG) Oct. 11 2015