🚧 Added F13-F24 to rdev::Key
This will fix #127. This pull request currently works with Windows support. However, Mac and Linux need their key codes figured out and someone to test it on their machines. I manually tested and this pull request is working on Windows as I imported it into one of my own projects.
- [x] Windows
- [ ] MacOS
- [ ] Linux
https://github.com/Narsil/rdev/blob/5b8d4127e6c9c08553d0188bf812343ae06b19a1/src/windows/keycodes.rs#L30
This repo references Windows documentation that states its keycodes. However, the Linux and macOS portions don't link to documentation that states the keycodes. Is this tested and found manually, or can we find the keycodes from an official source?
Thanks for this. I agree looking them up in other OSes would be nice, but since I don't own a keyboard with such high F I'm not going to bother that much (the number are defined in certain locations in header files of systems, but the numbering is sometimes inconsistent between the kernels, the library like X11, and the physical mapping of the keyboard driver of a given keyboard, I tend to usually manually confirm the numbers whenever possible, and I should have left the breadcrumbs on where to look for in said files).
Regardless let's merge it for now, I feel like those keys are quite rare anyway.