Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't remap numpad keys #56

Open
mandutt opened this issue Nov 11, 2022 · 2 comments
Open

Can't remap numpad keys #56

mandutt opened this issue Nov 11, 2022 · 2 comments

Comments

@mandutt
Copy link

mandutt commented Nov 11, 2022

Numpad keys will be also great to use!
I want to use numpad 1,3,7,9 keys as diagonal direction key but can't assign it for now.
Would you please add those numpad keys?

@ililim
Copy link
Owner

ililim commented Nov 24, 2022

For sure, if you could provide me with the scan and virtual codes I'll be happy to add them

@mandutt
Copy link
Author

mandutt commented Nov 25, 2022

Here's my result of numpad key scan.

NumpadIns(Numpad0)
-Scancode 052
-Virtualcode 0x2D

NumpadDel(NumpadDot)
-Scancode 053
-Virtualcode 0x2E

NumpadMult
-Scancode 037
-Virtualcode 0x6A

NumpadSub
-Scancode 04A
-Virtualcode 0x6D

NumpadAdd
-Scancode 04E
-Virtualcode 0x6B

NumpadEnd(Numpad1)
-Scancode 04F
-Virtualcode 0x23

NumpadDown(Numpad2)
-Scancode 050
-Virtualcode 0x28

NumpadPgDn(Numpad3)
-Scancode 051
-Virtualcode 0x22

NumpadLeft(Numpad4)
-Scancode 04B
-Virtualcode 0x25

NumpadClear(Numpad5)
-Scancode 04C
-Virtualcode 0xC

NumpadRight(Numpad6)
-Scancode 04D
-Virtualcode 0x27

NumpadHome(Numpad7)
-Scancode 047
-Virtualcode 0x24

NumpadUp(Numpad8)
-Scancode 048
-Virtualcode 0x26

NumpadPgUp(Numpad9)
-Scancode 049
-Virtualcode 0x21

My keyboard's Numpad slash key scanned as same key with slash near rightshift key.
(Don't know it's my keyboard specific or not)
Here's the slash key codes. (for the information :D)
-Scancode 035
-Virtualcode 0xBF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants