-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
S - enhancementWouldn't this be the coolest?Wouldn't this be the coolest?
Description
I am working on a GUI library in Rust, aiming at making it backend-independent. So, my library defines abstract events, to be filled by the backend-specific data. For the scan code, I found the scancode crate, based on libSDL2, itself based on the USB HID standard. This seems a good way to encode scan codes, but unfortunately the scancode crate seems unmaintained, and I saw that winit currently uses a u32 for the scan code.
So I'm wondering whether there is interest to:
- use semantic scancode matching the USB HID standard, possibly based on the
scancodecrate, - move this and the
VirtualKeyCodestruct into their own crate as part ofrust-windowing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
S - enhancementWouldn't this be the coolest?Wouldn't this be the coolest?