menu
InputAxis
import { InputAxis } from "destack:input/binding";
Input axis descriptor.
1export struct InputAxis {2 code: uint32;3 minimum: float64;4 maximum: float64;5 flat: float64;6 fuzz: float64;7 resolution: float64;8}Members
code: uint32Host-native axis code.
minimum: float64Minimum normalized axis value.
maximum: float64Maximum normalized axis value.
flat: float64Neutral dead-zone width when reported by the host.
fuzz: float64Noise threshold when reported by the host.
resolution: float64Unit resolution when reported by the host.