mouse_codes/types/
mod.rs

1//! Core type definitions for mouse input handling
2//!
3//! This module contains the fundamental types used throughout the crate,
4//! including button definitions, event types, and platform identifiers.
5
6/// Mouse button enumeration and related functionality
7pub mod button;
8/// Trait definition for code mapping between buttons and platform-specific codes
9pub mod code_mapper;
10/// Mouse event types and scroll direction definitions
11pub mod event;
12/// Platform identifiers for cross-platform compatibility
13pub mod platform;
14
15pub use button::Button;
16pub use code_mapper::CodeMapper;
17pub use event::{MouseEvent, ScrollDirection};
18pub use platform::Platform;