Skip to content

Exclamation mark does not work with some keyboard layouts #308

@najlkin

Description

@najlkin

Exclamation mark for changing the texture type does not work with some keyboard layouts (like Czech).

Here is the output from tracking of key presses with Czech layout:

Event: SDL_KEYDOWN sym=1073742053 mod=4098
Event: SDL_KEYDOWN sym=167 mod=4098
Event: SDL_TEXTINPUT text[0..3]=33 0 0 0 (as codes 0-255)
Event: SDL_KEYUP sym=167 mod=4098
Event: SDL_KEYUP sym=1073742053 mod=4096

and for reference English layout (which works):

Event: SDL_KEYDOWN sym=1073742049 mod=4097
Event: SDL_KEYDOWN sym=49 mod=4097
Event: SDL_TEXTINPUT text[0..3]=33 0 0 0 (as codes 0-255)
Event: SDL_KEYUP sym=49 mod=4097
Event: SDL_KEYUP sym=1073742049 mod=4096

❓ This probably comes from #294

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions