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

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


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




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