medius 3.0.0

Host control library for the medius transparent mouse passthrough box
Documentation
1
2
3
4
5
6
7
8
//! Relative-axis drive for the field-generic injection verbs: `move` drives a [`Motion`], `inject` sets a momentary [`Usage`](crate::Usage).

/// A relative axis to drive with the [`move_axis`](crate::Device::move_axis) verb.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum Motion {
    Cursor { dx: i16, dy: i16 },
    Wheel(i16),
}