Keybindings for QWERTZ keyboard layout
Posted: Sunday, 11th January 2015, 21:56
Hi! I have added a few lines to my $HOME/.crawlrc file so the keyboard assignments make more sense on a QWERTZ keyboard layout. I suppose this is usable for other QWERTZ users as well. Maybe it is even good enough to be distributed by default with DCSS (like the other “command_keys.txt” files)?
Here is the code:
Basically this just switches Z with Y. So the movement keys finally make sense under QWERTZ, and casting a smell is now on [y] and [Y]. Fun fact: In the in-game key help it now says “yap” and “Yap”.
Everything else is unchanged, because I think the other keys are not so important, after all and it does not matter so much if they are displaced if compared to QWERTY.
Here is the code:
- Code:
bindkey = [z] CMD_MAP_MOVE_UP_LEFT
bindkey = [Z] CMD_MAP_JUMP_UP_LEFT
bindkey = [z] CMD_MOVE_UP_LEFT
bindkey = [Z] CMD_RUN_UP_LEFT
bindkey = [^Z] CMD_OPEN_DOOR_UP_LEFT
bindkey = [z] CMD_TARGET_UP_LEFT
bindkey = [Z] CMD_TARGET_DIR_UP_LEFT
bindkey = [y] CMD_CAST_SPELL
bindkey = [Y] CMD_FORCE_CAST_SPELL
bindkey = [^Y] CMD_SUSPEND_GAME
Basically this just switches Z with Y. So the movement keys finally make sense under QWERTZ, and casting a smell is now on [y] and [Y]. Fun fact: In the in-game key help it now says “yap” and “Yap”.
Everything else is unchanged, because I think the other keys are not so important, after all and it does not matter so much if they are displaced if compared to QWERTY.