Crate hookmap_core

Source
Expand description

A core library of hookmap.

This library provides input simulation and global hooks for keyboard and mouse.

§Feature flags

  • us-keyboard-layout (default): Use US keyboard layout. This changes the Button variant.
  • japanese-keyboard-layout: Use Japanese keyboard layout. This changes the Button variant.

Modules§

button
Definition of keyboard and mouse button.
event
Representation of keyboard and mouse events.
mouse
Functions for mouse operations

Functions§

install_hook
Installs a hook and returns a receiver to receive the generated event.
uninstall_hook
Uninstalls a hook. After this call, install_hook can be called again.