4 releases

Uses new Rust 2024

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

#767 in Hardware support

MIT/Apache

525KB
9K 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
~512K SLoC