refactor: split cargo workspace
This commit is contained in:
parent
5db14936e7
commit
1c21bd1259
695 changed files with 32023 additions and 44964 deletions
|
|
@ -1,18 +0,0 @@
|
|||
//! Constants determining the click method of a device.
|
||||
//!
|
||||
//! See the libinput documentation for details.
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// The click method of a device.
|
||||
#[derive(Serialize, Deserialize, Copy, Clone, Debug, Hash, Eq, PartialEq)]
|
||||
pub struct ClickMethod(pub u32);
|
||||
|
||||
/// No click method handling
|
||||
pub const CLICK_METHOD_NONE: ClickMethod = ClickMethod(0);
|
||||
|
||||
/// Button area
|
||||
pub const CLICK_METHOD_BUTTON_AREAS: ClickMethod = ClickMethod(1 << 0);
|
||||
|
||||
/// Clickfinger
|
||||
pub const CLICK_METHOD_CLICKFINGER: ClickMethod = ClickMethod(1 << 1);
|
||||
Loading…
Add table
Add a link
Reference in a new issue