Re: [hatari-devel] Overlong SDL-Syms on Manjaro Linux |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Overlong SDL-Syms on Manjaro Linux
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Tue, 12 Jul 2022 07:29:10 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1657610953; bh=tH4MfUQShO3pVBT+UkjDj1sh00a5ok/Gd8LKKII5lbY=; h=Date:From:To:Subject:From; b=hwhAubfjCzDprkm8TYRNVF75XdIh0/rk2QHFC3pORHrGMu1iW/4pPqIKnbJf+Wezc FTPCmE/Jks8JhUUL5RXIVnd7U5Q/MG01ADqqzxqusJTM3hpf7W7d/JF+MQ95sVZQ1o 8Xb3IJ00NCAzI1q0MCQtuvJ62ltCwh/OGaX+bf6yaS7yEH+ZfEqmRFcDb97yJ0WqNu BOBQ4wcWmTIQ2VX5kduamLh2PfLrcMBAiXR9gHli71jIQY9wjUQgEjNVKC0TENdV+I BhBxEw/Rih9kK/ZEDPjB3LJkxf9ncB6he8KImYqI6q+MahnyaJhlHaRM5rKL3dms// oEFiM30ICv1bw==
Am Mon, 11 Jul 2022 16:39:24 +0200
schrieb Martin <martin@xxxxxxxxxxx>:
> Hi. When running Hatari 2.4.0 (and before) with --trace keymap on
> Manjaro Linux with SDL 2.0.22, I get strange looking and overlong
> symbols on just two keys (German keyboard):
>
> Below Esc and left of key "1": ^°-Key and
>
> left from Backspace: '`-Key
>
> On Windows with newest Hatari release I get completely sane symbols, but
> on Manjaro Linux I get:
>
> key down: sym=1073741824 scan=46 mod=0x0 name=''
> key map: sym=0x40000000 to ST-scan=0x0d
> key up: sym=1073741824 scan=46 mod=0x0 name=''
>
> key down: sym=1073741824 scan=53 mod=0x0 name=''
> key map: sym=0x40000000 to ST-scan=0x0d
> key up: sym=1073741824 scan=53 mod=0x0 name=''
>
> Since I can make a key-mapping for Hatari just on the base of symbols,
> I'd like to get them going.
>
> Could you be so kind to test/proof this on another Linux distribution to
> see, if it is a bug just in my distro?
Hi Martin!
Works for me on my German keyboard:
key down: sym=94 scan=53 mod=0x1000 name='^'
key map: sym=0x5e to ST-scan=0x2b
key up: sym=94 scan=53 mod=0x1000 name='^'
key down: sym=180 scan=46 mod=0x1000 name='´'
key map: sym=0xb4 to ST-scan=0x0d
key up: sym=180 scan=46 mod=0x1000 name='´'
That 0x40000000 looks like SDLK_SCANCODE_MASK - so seems like the SDL
failed to match your keys with a normal ASCII value, I guess?
Since it's only happening for ^ and ´ ... do you maybe have dead keys
enabled? What happens if you open a text editor and e.g. type ^ followed by
an "o" ? Do you get ^o or do you get ô ? In the latter case, please try to
disable the dead keys in your keyboard settings and try again.
Thomas