menu

InputAxis

import { InputAxis } from "destack:input/binding";

Input axis descriptor.

language/library/src/input/binding/device.ds:117:130
1export struct InputAxis {2    code: uint32;3    minimum: float64;4    maximum: float64;5    flat: float64;6    fuzz: float64;7    resolution: float64;8}

Members

code: uint32

Host-native axis code.

minimum: float64

Minimum normalized axis value.

maximum: float64

Maximum normalized axis value.

flat: float64

Neutral dead-zone width when reported by the host.

fuzz: float64

Noise threshold when reported by the host.

resolution: float64

Unit resolution when reported by the host.