Skip to content

SDLK/KEY for y/z and "KEYB GR" and ALTGR-combos on a german Win10 #89

@guidol70

Description

@guidol70

In the keymap.map normally is configured:
SDLK_y = KEY_Y
SDLK_z = KEY_Z

When I start the IBMulator (2121 US ROM with US DOS 4.01) I do get at the "Command prompt"
a Y for a Y and a Z for an Z - which is a little bit odd, because "KYB GR" isnt loaded.
When I load "KEYB GR" Y and Z are swapped. So all other key work fine on a german keyboard,
but Y and Z arent right this way (no normal behaviour on a DOS-PC) :(

To resolve this (normal behaviour on a DOS-PC) I changed the lines in the keymap.map to
SDLK_z = KEY_Y
SDLK_y = KEY_Z

So - before loading "KEYB GR" a Y is a Z and Z is a Y - like on a real PC.
After loading "KEYB GR" now these are swapped like they should and all other (working) keys
show what they should show with a german keyboard ;)

Now I only do MISS some ALTGR-combinations:
@ - ALTGR-Q
| - ALTGR-<>
~ - ALTGR-+
\ - ALTGR-ß (?? SDL_SCANCODE_BACKSLASH = KEY_BACKSLASH ??)
and maybe
€ - ALTGR-E

Is there any solution to this ALTGR-mapping problem?

Kind regards
Guido

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions