Keybindings for QWERTZ keyboard layout


If you are interested in helping with tiles, vaults, patches or documentation, this is the place for that.

Temple Termagant

Posts: 6

Joined: Sunday, 11th January 2015, 19:41

Post Sunday, 11th January 2015, 21:56

Keybindings for QWERTZ keyboard layout

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:
  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”. :D

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.

For this message the author Wuzzy has received thanks:
and into

Vestibule Violator

Posts: 1567

Joined: Friday, 21st January 2011, 22:56

Post Monday, 12th January 2015, 15:18

Re: Keybindings for QWERTZ keyboard layout

Thanks, I will try this! Maybe now I can finally use vi keys.

Dungeon Master

Posts: 634

Joined: Sunday, 22nd September 2013, 14:46

Post Wednesday, 14th January 2015, 01:00

Re: Keybindings for QWERTZ keyboard layout

Isn't this what the "remapping" feature in ctrl-d is for?

Vestibule Violator

Posts: 1567

Joined: Friday, 21st January 2011, 22:56

Post Wednesday, 14th January 2015, 13:25

Re: Keybindings for QWERTZ keyboard layout

ctrl-d?

Dungeon Master

Posts: 634

Joined: Sunday, 22nd September 2013, 14:46

Post Wednesday, 14th January 2015, 21:56

Re: Keybindings for QWERTZ keyboard layout

Hm, never mind. (I was thinking of the option to make a '(k)eymap' at the macro prompt, but that would swap Z and Y in menus, for instance, which doesn't seem to be what you want.)

Return to Contributions

Who is online

Users browsing this forum: No registered users and 7 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.