GNOME Bugzilla – Bug 731993
Default hotkeys require number pad
Last modified: 2014-06-22 13:30:17 UTC
All hotkeys (Preferences -> Keyboard) seem to be broken, as of at least 3.10. I guess we're going to have to go back in time to see how many years it's been since these have worked....
OK, they actually work fine, it's just that the default keys require a number pad for them to work... I guess Robots was written in a time before laptops.... I hesitate to change this, since the default wouldn't make much sense without the number pad. Guess these need to be rethought.
I guess we would want to add nethack-controls. They are suitable and quite well known. I think this would be the best way to map the 8 directions onto the keyboard. "The hjkl keys move your character to the adjacent square west, south, north, or east. The yubn keys move your character diagonally." source: http://strategywiki.org/wiki/NetHack/Controls#yuhjklbn This way of doing it precedes Numpads on keyboards by quite a few years, I guess.
Created attachment 278892 [details] [review] Use more reasonable hotkeys All of the previous hotkeys assume the existance of a number pad. Do people have number pads anymore?
Any suggestions for the non-directional hotkeys (teleport safely, teleport randomly, wait one turn, wait forever)? I kept them at their original values after switching to non-number pad keys, but these no longer make any sense at all. Teleport safely is =, teleport randomly is 8, etc. Maybe , and . would make sense for wait one turn and wait forever? Maybe r and s for random and safe teleport?
Created attachment 278893 [details] [review] Update user help for new hotkeys
Wait or skip turn is traditionally space. I think rogue's or nethacks controls, seeing that we have the same view as those games, we could take a hint from there.
Let's use space to skip one turn, and remove hotkeys from the other three -- mnemonics should be enough, and it would really suck to accidentally teleport because you pressed the wrong button. The following fix has been pushed: 66a3421 Use more reasonable hotkeys
Created attachment 278904 [details] [review] Use more reasonable hotkeys All of the previous hotkeys assume the existance of a number pad. Do people have number pads anymore?
Can we have both numpad and rogue-inputs? Or can we sense that in any way or switch between setups?
Well our hotkey manager only allows one hotkey per command. I guess the easiest way to get around this would be to add a hidden set of additional default hotkeys. This is what GNOME does to make Alt+Tab work even though the hotkey manager says Super+Tab. But probably if you want to use a number pad, you'd just have to set the hotkeys yourself. This seems acceptable to me: the new hotkeys are totally useless unless you have a qwerty keyboard, for instance, so many users will have to do this anyway.