[crossfire] [PATCH 1/2] Keybindings: multiple changes

Mark Wedel mwedel at sonic.net
Sun Nov 3 13:56:39 CST 2013


On 11/ 3/13 06:50 AM, Arvid Brodin wrote:
<snip>
>
> - How often do we get new players who use Sun Type 4 Keyboards? Perhaps these
>    could go? (17 bindings.)

  Some of those still can apply for later sun keyboards (using a type 7 here). 
Since later keyboards are USB, they work fine on PCs also.

  I suspect the F ones can certainly go.

  The KP_<name> seem to depend on if numlock is on or off, so in theory can go, 
but at same time, I suspect would apply to non sun keyboards if numlock is off. 
  That said, hitting numlock is not hard, although perhaps a warning in the 
client could be added (Your numlock key is off - movement via the keypad will 
not work until you turn it on) type of thing.  I believe there is some way to 
get that status with gtk.


> These I don't really know about:
>
> - I've never seen the "Nethack-Style" key layout before. Also, they don't seem
>    to work in conjunction with the Fire modifier (only N and R). Does the fact
>    that that bug has never been fixed mean they aren't used at all, perhaps? Or
>    do people just fix that when they start to play?

  Not specific to that, but I suspect people playing on laptops/notebooks lack 
the numeric keypad, and just using the 4 direction keys is limiting (there are 
probably circumstances where you really need to move or fire diagonally)

>
> - Arrow keys... I *really* like the feature of command history and the prevkey/
>    nextkey that is available. But these are not bound by default, so perhaps they
>    aren't used as much as they could be. On the other hand, using the arrow keys
>    for this (and not for north/south etc) requires an immidiate help text whenever
>    a new character is started, to explain how to move.

  I suspect some of that is command history is a more recent feature and 
keybinding was never added for it (there are probably lots of commands which 
could use keybindings but are lacking them)

  Certainly help text could be updated.  I wonder if they could be bound to page 
up/page down by default (for keyboards that have that - see notebook issue 
above) - this way, they will still apply in keybindings for all users, so people 
could rebind them to other keys as they see fit.



More information about the crossfire mailing list