mist icon indicating copy to clipboard operation
mist copied to clipboard

Numberpad Keybindings?

Open CiscoSixFour opened this issue 3 years ago • 2 comments

Hi, do numberpad keys work for keybindings? I've tried KP_1 and it does not work. Perhaps they go by a different name? Sorry I have no idea how to check :P

CiscoSixFour avatar Dec 25 '21 08:12 CiscoSixFour

It does support numberpad keys, and I'm currently using the SDL bindings to read key names and translate them. Sometimes it is a little funny, and in this case it wants you to use Keypad 1 etc for the numberpad numbers. One day will get around to either writing up a proper list or writing a proper parser, because as far as I know there's not really a list of what strings it will take.

LtPeriwinkle avatar Dec 25 '21 17:12 LtPeriwinkle

all of the keypad numbers have other functionality and as such the keycodes are not just KP_[num] here is a helpful list of codes: 0 => KP_Insert 1 => KP_End 2 => KP_Down 3 => LP_Next 4 => KP_Left 5 => KP_Begin 6 => KP_Right 7 => KP_Home 8 => KP_Up 9 => KP_Prior

Vulpesx avatar Jun 08 '22 11:06 Vulpesx