dualsense-tools 0.2.0

Tools to interact with the Dualsense PS5 controller
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::virtual_controller::AxisValue;

/// All available virtual axis
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq, Hash)]
pub struct Axes {
    pub x: AxisValue,
    pub y: AxisValue,
    pub rx: AxisValue,
    pub ry: AxisValue,
    pub z: AxisValue,
    pub rz: AxisValue,
    pub throttle: AxisValue,
    pub pitch: AxisValue,
    pub roll: AxisValue,
}