4 releases

Uses new Rust 2024

new 0.2.1 May 3, 2025
0.2.0 May 2, 2025
0.1.1 Apr 7, 2025
0.1.0 Apr 6, 2025

#237 in Hardware support

Download history 228/week @ 2025-04-05 21/week @ 2025-04-12 6/week @ 2025-04-19

255 downloads per month

MIT/Apache

315KB
5.5K SLoC

VKey

This crates only contains various types of virtual keycodes, and conversions between them.

This crate is under heavy development, and subject to breaking changes.

  • Vk from winput
  • VIRTUAL_KEY from windows
  • enigo::Key from enigo (partially done)
  • CGKeyCode from macos
  • Usage from hut
  • winit::KeyCode from winit (only definitions)
  • xkeysym::KeyCode from xkeysym

Following conditions are considered as BUG:

  • If any type cannot be accessed from any platform.
  • if any type could not be converted to another type.
  • if any "mirrored" type is not synced with "underlying" type.

Limitations

we would also like to add conversion between "mirrored" types and "underlying" types.

Dependencies

~0.2–36MB
~517K SLoC