1 2 3 4 5 6 7 8 9 10 11 12 13 14
/// Represents the direction of the hat of a Dualsense controller #[derive(Clone, Copy, Debug, Default, Eq, PartialEq, Hash)] pub enum HatDirection { Up, UpRight, Right, DownRight, Down, DownLeft, Left, UpLeft, #[default] Neutral, }