MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ axis()

static HIDConfig MayaFlux::Nodes::Input::HIDConfig::axis ( size_t  offset,
size_t  bytes = 1,
bool  signed_val = false 
)
inlinestatic

Definition at line 42 of file HIDNode.hpp.

43 {
44 return HIDConfig {
45 .mode = HIDParseMode::AXIS,
46 .byte_offset = offset,
47 .byte_size = bytes,
48 .is_signed = signed_val
49 };
50 }
@ AXIS
Joystick/gamepad axis with normalization & deadzone.

References MayaFlux::Nodes::Input::AXIS, and mode.