Struct emscripten_sys::EmscriptenGamepadEvent
[−]
[src]
#[repr(C)]pub struct EmscriptenGamepadEvent { pub timestamp: f64, pub numAxes: c_int, pub numButtons: c_int, pub axis: [f64; 64], pub analogButton: [f64; 64], pub digitalButton: [c_int; 64], pub connected: c_int, pub index: c_long, pub id: [c_char; 64], pub mapping: [c_char; 64], }
Fields
timestamp: f64
numAxes: c_int
numButtons: c_int
axis: [f64; 64]
analogButton: [f64; 64]
digitalButton: [c_int; 64]
connected: c_int
index: c_long
id: [c_char; 64]
mapping: [c_char; 64]