While testing to see if a keybinding option for a possible mod was viable, I tried to bind something to the numpad to see what it shows as. Result: "PAD 4" (etc.)
Trying to bind something to shift+numpad 4 yields "LSHIFT" instead of the expected "SHIFT + PAD 4".
I haven't tested to see what happens if a mod specifically sets "SHIFT + PAD 4" as its default.
[Twinsen][0.16.3] Cannot bind to shift+numpad
Re: [Twinsen][0.16.3] Cannot bind to shift+numpad
Well, this is interesting.
Then you press Shift+Pad 7, windows actually sends the "home" key. I actually didn't even know windows handles the keyboard like that.
The events windows sends me when you press shift+pad 7 is:
1. press shift (user pressed shift)
2. release shift
3. press home (user pressed pad 7)
4. release home (user released pad 7)
5. press shift
6. release shift (user released shift)
Because windows sends me the release shift key event, I can't know if it's because of the user releasing it(because the user wanted to map the shift key) or if windows released it in order to send the home key by it's self.
There is no way I could detect this situation, so either map these keys with numpad off, or avoid using the numpad number keys.
Relevant link:
https://gaming.stackexchange.com/questi ... ifferently
Then you press Shift+Pad 7, windows actually sends the "home" key. I actually didn't even know windows handles the keyboard like that.
The events windows sends me when you press shift+pad 7 is:
1. press shift (user pressed shift)
2. release shift
3. press home (user pressed pad 7)
4. release home (user released pad 7)
5. press shift
6. release shift (user released shift)
Because windows sends me the release shift key event, I can't know if it's because of the user releasing it(because the user wanted to map the shift key) or if windows released it in order to send the home key by it's self.
There is no way I could detect this situation, so either map these keys with numpad off, or avoid using the numpad number keys.
Relevant link:
https://gaming.stackexchange.com/questi ... ifferently