Forums » Linux
Using the numeric keypad
I'm having problems binding things to the numeric keypad. I really need this for my config. There seems to be no way to specify the likes of NumpadSlash or Numpad5 for instance. I can use the in-game interface to set things but there are several problems with this....
1. In-game the bound key is displayed as an unprintable character (the little square).
2. Although the binds are saved in wgaf.cfg, they are also saved with an unprintable character (raw scancode?). Next time vendetta is run the bind is not loaded.
3. I really want to use the keypad for my own aliases, so i need some way to specify it in my own config file or in the console
I'm sure some dev will read this, i don't imagine adding this will be too tough ;)
In the mean time, does anyone know if there is any way to remap these keys in X, perhaps using bash?
1. In-game the bound key is displayed as an unprintable character (the little square).
2. Although the binds are saved in wgaf.cfg, they are also saved with an unprintable character (raw scancode?). Next time vendetta is run the bind is not loaded.
3. I really want to use the keypad for my own aliases, so i need some way to specify it in my own config file or in the console
I'm sure some dev will read this, i don't imagine adding this will be too tough ;)
In the mean time, does anyone know if there is any way to remap these keys in X, perhaps using bash?
There's already a thread about this. Linux handles the keypad really weirdly.
Found it... searching for "keypad", "numeric", "binds" or "keyboard" didn't find anything so here's some links:
http://www.vendetta-online.com/x/msgboard/5/1041#10664
http://www.vendetta-online.com/x/msgboard/3/6408#87955
http://www.vendetta-online.com/x/msgboard/6/2600#46317
http://www.vendetta-online.com/x/msgboard/5/1041#10664
http://www.vendetta-online.com/x/msgboard/3/6408#87955
http://www.vendetta-online.com/x/msgboard/6/2600#46317
Can we get some proper numpad support yet, devs? (probably a1k0n in this case) My new keyboard does not have the "normal" home/end/pageup/pagedown/etc, just the KP versions, and keypad support is usually considered a standard feature for commercial games.
keypad support is usually a function of the operating system translating the keys, but in X the keypad keys are intentionally distinct. In fact, it sends totally different key symbols depending on whether numlock is enabled.
I'm fixing this now so the entire keypad is supported under Linux as a separate set of keys - KP_0 through KP_9, KP_Up, KP_Down, KP_Left, etc. The X keycode for keypad 5 is "KP_Begin", which is weird, so I'll call it KP_Center in the game.
Sorry for putting this off so long. No biggie to implement, it'll be in the next version.
I'm fixing this now so the entire keypad is supported under Linux as a separate set of keys - KP_0 through KP_9, KP_Up, KP_Down, KP_Left, etc. The X keycode for keypad 5 is "KP_Begin", which is weird, so I'll call it KP_Center in the game.
Sorry for putting this off so long. No biggie to implement, it'll be in the next version.
Thank you soooo very much. xev is a good programmer's friend.
Indeed it is. :P
You are so wonderful, a1k0n, /me wuvs you!