Crate hookmap_core[][src]

Expand description

A core library for hookmap.

This library provides abstracted input emulation and global hooks for keyboard and mouse.

Required traits.

In order to support another OS, these traits need to be implemented.

Feature flags

  • block-input-event: Set the default EventBlock value to EventBlock::Block.
  • us-keyboard-layout (default): Set the variants of Button to the buttons on the us keyboard.
  • japanese-keyboard-layout: Set the variants of Button to the buttons on the japanese keyboard.

Re-exports

pub use common::button::Button;
pub use common::button::ButtonAction;
pub use common::button::ButtonKind;
pub use common::button::ButtonOperation;
pub use common::event::ButtonEvent;
pub use common::event::Event;
pub use common::event::EventBlock;
pub use common::event::MouseCursorEvent;
pub use common::event::MouseWheelEvent;
pub use common::handler::HookHandler;
pub use common::mouse::EmulateMouseCursor;
pub use common::mouse::EmulateMouseWheel;
pub use common::mouse::Mouse;

Modules

Macros