mouse-codes 0.1.0

Cross-platform mouse button code mapping and conversion
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Core type definitions for mouse input handling
//!
//! This module contains the fundamental types used throughout the crate,
//! including button definitions, event types, and platform identifiers.

/// Mouse button enumeration and related functionality
pub mod button;
/// Trait definition for code mapping between buttons and platform-specific codes
pub mod code_mapper;
/// Mouse event types and scroll direction definitions
pub mod event;
/// Platform identifiers for cross-platform compatibility
pub mod platform;

pub use button::Button;
pub use code_mapper::CodeMapper;
pub use event::{MouseEvent, ScrollDirection};
pub use platform::Platform;