backend: move interface ids into type crates
This commit is contained in:
parent
46d39becd4
commit
be1511a7be
5 changed files with 95 additions and 46 deletions
|
|
@ -110,6 +110,9 @@ impl StaticText for InputDeviceCapability {
|
|||
}
|
||||
|
||||
linear_ids!(InputDeviceGroupIds, InputDeviceGroupId, usize);
|
||||
linear_ids!(InputDeviceIds, InputDeviceId);
|
||||
|
||||
pub type TransformMatrix = [[f64; 2]; 2];
|
||||
|
||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||
pub enum KeyState {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue