SYMBOL INDEX (1018 symbols across 43 files) FILE: gilrs-core/examples/ev_core.rs function main (line 3) | fn main() { FILE: gilrs-core/src/lib.rs constant IS_Y_AXIS_REVERSED (line 16) | pub const IS_Y_AXIS_REVERSED: bool = platform::IS_Y_AXIS_REVERSED; type FfDevice (line 20) | pub struct FfDevice { method set_ff_state (line 26) | pub fn set_ff_state(&mut self, strong: u16, weak: u16, min_duration: D... type Event (line 34) | pub struct Event { method new (line 45) | pub fn new(id: usize, event: EventType) -> Self { type EventType (line 54) | pub enum EventType { type AxisInfo (line 64) | pub struct AxisInfo { type PowerInfo (line 87) | pub enum PowerInfo { type Gilrs (line 102) | pub struct Gilrs { method new (line 107) | pub fn new() -> Result { method next_event (line 117) | pub fn next_event(&mut self) -> Option { method next_event_blocking (line 122) | pub fn next_event_blocking(&mut self, timeout: Option) -> Op... method gamepad (line 127) | pub fn gamepad(&self, id: usize) -> Option<&Gamepad> { method last_gamepad_hint (line 141) | pub fn last_gamepad_hint(&self) -> usize { type Gamepad (line 149) | pub struct Gamepad { method name (line 155) | pub fn name(&self) -> &str { method is_connected (line 160) | pub fn is_connected(&self) -> bool { method uuid (line 171) | pub fn uuid(&self) -> [u8; 16] { method vendor_id (line 176) | pub fn vendor_id(&self) -> Option { method product_id (line 181) | pub fn product_id(&self) -> Option { method power_info (line 186) | pub fn power_info(&self) -> PowerInfo { method is_ff_supported (line 191) | pub fn is_ff_supported(&self) -> bool { method ff_device (line 196) | pub fn ff_device(&self) -> Option { method buttons (line 201) | pub fn buttons(&self) -> &[EvCode] { method axes (line 210) | pub fn axes(&self) -> &[EvCode] { method axis_info (line 220) | pub fn axis_info(&self, nec: EvCode) -> Option<&AxisInfo> { type EvCode (line 232) | pub struct EvCode(platform::EvCode); method into_u32 (line 235) | pub fn into_u32(self) -> u32 { method fmt (line 241) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type PlatformError (line 250) | enum PlatformError { method source (line 272) | fn source(&self) -> Option<&(dyn error::Error + 'static)> { method fmt (line 261) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Error (line 283) | pub enum Error { method source (line 301) | fn source(&self) -> Option<&(dyn error::Error + 'static)> { method fmt (line 292) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { constant AXIS_LSTICKX (line 315) | pub const AXIS_LSTICKX: EvCode = EvCode(nec::AXIS_LSTICKX); constant AXIS_LSTICKY (line 316) | pub const AXIS_LSTICKY: EvCode = EvCode(nec::AXIS_LSTICKY); constant AXIS_LEFTZ (line 317) | pub const AXIS_LEFTZ: EvCode = EvCode(nec::AXIS_LEFTZ); constant AXIS_RSTICKX (line 318) | pub const AXIS_RSTICKX: EvCode = EvCode(nec::AXIS_RSTICKX); constant AXIS_RSTICKY (line 319) | pub const AXIS_RSTICKY: EvCode = EvCode(nec::AXIS_RSTICKY); constant AXIS_RIGHTZ (line 320) | pub const AXIS_RIGHTZ: EvCode = EvCode(nec::AXIS_RIGHTZ); constant AXIS_DPADX (line 321) | pub const AXIS_DPADX: EvCode = EvCode(nec::AXIS_DPADX); constant AXIS_DPADY (line 322) | pub const AXIS_DPADY: EvCode = EvCode(nec::AXIS_DPADY); constant AXIS_RT (line 323) | pub const AXIS_RT: EvCode = EvCode(nec::AXIS_RT); constant AXIS_LT (line 324) | pub const AXIS_LT: EvCode = EvCode(nec::AXIS_LT); constant AXIS_RT2 (line 325) | pub const AXIS_RT2: EvCode = EvCode(nec::AXIS_RT2); constant AXIS_LT2 (line 326) | pub const AXIS_LT2: EvCode = EvCode(nec::AXIS_LT2); constant BTN_SOUTH (line 328) | pub const BTN_SOUTH: EvCode = EvCode(nec::BTN_SOUTH); constant BTN_EAST (line 329) | pub const BTN_EAST: EvCode = EvCode(nec::BTN_EAST); constant BTN_C (line 330) | pub const BTN_C: EvCode = EvCode(nec::BTN_C); constant BTN_NORTH (line 331) | pub const BTN_NORTH: EvCode = EvCode(nec::BTN_NORTH); constant BTN_WEST (line 332) | pub const BTN_WEST: EvCode = EvCode(nec::BTN_WEST); constant BTN_Z (line 333) | pub const BTN_Z: EvCode = EvCode(nec::BTN_Z); constant BTN_LT (line 334) | pub const BTN_LT: EvCode = EvCode(nec::BTN_LT); constant BTN_RT (line 335) | pub const BTN_RT: EvCode = EvCode(nec::BTN_RT); constant BTN_LT2 (line 336) | pub const BTN_LT2: EvCode = EvCode(nec::BTN_LT2); constant BTN_RT2 (line 337) | pub const BTN_RT2: EvCode = EvCode(nec::BTN_RT2); constant BTN_SELECT (line 338) | pub const BTN_SELECT: EvCode = EvCode(nec::BTN_SELECT); constant BTN_START (line 339) | pub const BTN_START: EvCode = EvCode(nec::BTN_START); constant BTN_MODE (line 340) | pub const BTN_MODE: EvCode = EvCode(nec::BTN_MODE); constant BTN_LTHUMB (line 341) | pub const BTN_LTHUMB: EvCode = EvCode(nec::BTN_LTHUMB); constant BTN_RTHUMB (line 342) | pub const BTN_RTHUMB: EvCode = EvCode(nec::BTN_RTHUMB); constant BTN_DPAD_UP (line 344) | pub const BTN_DPAD_UP: EvCode = EvCode(nec::BTN_DPAD_UP); constant BTN_DPAD_DOWN (line 345) | pub const BTN_DPAD_DOWN: EvCode = EvCode(nec::BTN_DPAD_DOWN); constant BTN_DPAD_LEFT (line 346) | pub const BTN_DPAD_LEFT: EvCode = EvCode(nec::BTN_DPAD_LEFT); constant BTN_DPAD_RIGHT (line 347) | pub const BTN_DPAD_RIGHT: EvCode = EvCode(nec::BTN_DPAD_RIGHT); FILE: gilrs-core/src/platform/default/ff.rs type Device (line 12) | pub struct Device; method set_ff_state (line 16) | pub fn set_ff_state(&mut self, strong: u16, weak: u16, min_duration: D... FILE: gilrs-core/src/platform/default/gamepad.rs type Gilrs (line 17) | pub struct Gilrs {} method new (line 20) | pub(crate) fn new() -> Result { method next_event (line 24) | pub(crate) fn next_event(&mut self) -> Option { method next_event_blocking (line 28) | pub(crate) fn next_event_blocking(&mut self, timeout: Option... method gamepad (line 32) | pub fn gamepad(&self, id: usize) -> Option<&Gamepad> { method last_gamepad_hint (line 37) | pub fn last_gamepad_hint(&self) -> usize { type Gamepad (line 43) | pub struct Gamepad { method name (line 48) | pub fn name(&self) -> &str { method uuid (line 52) | pub fn uuid(&self) -> Uuid { method vendor_id (line 56) | pub fn vendor_id(&self) -> Option { method product_id (line 60) | pub fn product_id(&self) -> Option { method power_info (line 64) | pub fn power_info(&self) -> PowerInfo { method is_ff_supported (line 68) | pub fn is_ff_supported(&self) -> bool { method ff_device (line 73) | pub fn ff_device(&self) -> Option { method buttons (line 77) | pub fn buttons(&self) -> &[EvCode] { method axes (line 81) | pub fn axes(&self) -> &[EvCode] { method axis_info (line 85) | pub(crate) fn axis_info(&self, nec: EvCode) -> Option<&AxisInfo> { method is_connected (line 89) | pub fn is_connected(&self) -> bool { type EvCode (line 99) | pub struct EvCode(u16); method into_u32 (line 102) | pub fn into_u32(self) -> u32 { method fmt (line 108) | fn fmt(&self, f: &mut Formatter) -> FmtResult { constant AXIS_LSTICKX (line 116) | pub const AXIS_LSTICKX: EvCode = EvCode(0); constant AXIS_LSTICKY (line 117) | pub const AXIS_LSTICKY: EvCode = EvCode(1); constant AXIS_LEFTZ (line 118) | pub const AXIS_LEFTZ: EvCode = EvCode(2); constant AXIS_RSTICKX (line 119) | pub const AXIS_RSTICKX: EvCode = EvCode(3); constant AXIS_RSTICKY (line 120) | pub const AXIS_RSTICKY: EvCode = EvCode(4); constant AXIS_RIGHTZ (line 121) | pub const AXIS_RIGHTZ: EvCode = EvCode(5); constant AXIS_DPADX (line 122) | pub const AXIS_DPADX: EvCode = EvCode(6); constant AXIS_DPADY (line 123) | pub const AXIS_DPADY: EvCode = EvCode(7); constant AXIS_RT (line 124) | pub const AXIS_RT: EvCode = EvCode(8); constant AXIS_LT (line 125) | pub const AXIS_LT: EvCode = EvCode(9); constant AXIS_RT2 (line 126) | pub const AXIS_RT2: EvCode = EvCode(10); constant AXIS_LT2 (line 127) | pub const AXIS_LT2: EvCode = EvCode(11); constant BTN_SOUTH (line 129) | pub const BTN_SOUTH: EvCode = EvCode(12); constant BTN_EAST (line 130) | pub const BTN_EAST: EvCode = EvCode(13); constant BTN_C (line 131) | pub const BTN_C: EvCode = EvCode(14); constant BTN_NORTH (line 132) | pub const BTN_NORTH: EvCode = EvCode(15); constant BTN_WEST (line 133) | pub const BTN_WEST: EvCode = EvCode(16); constant BTN_Z (line 134) | pub const BTN_Z: EvCode = EvCode(17); constant BTN_LT (line 135) | pub const BTN_LT: EvCode = EvCode(18); constant BTN_RT (line 136) | pub const BTN_RT: EvCode = EvCode(19); constant BTN_LT2 (line 137) | pub const BTN_LT2: EvCode = EvCode(20); constant BTN_RT2 (line 138) | pub const BTN_RT2: EvCode = EvCode(21); constant BTN_SELECT (line 139) | pub const BTN_SELECT: EvCode = EvCode(22); constant BTN_START (line 140) | pub const BTN_START: EvCode = EvCode(23); constant BTN_MODE (line 141) | pub const BTN_MODE: EvCode = EvCode(24); constant BTN_LTHUMB (line 142) | pub const BTN_LTHUMB: EvCode = EvCode(25); constant BTN_RTHUMB (line 143) | pub const BTN_RTHUMB: EvCode = EvCode(26); constant BTN_DPAD_UP (line 145) | pub const BTN_DPAD_UP: EvCode = EvCode(27); constant BTN_DPAD_DOWN (line 146) | pub const BTN_DPAD_DOWN: EvCode = EvCode(28); constant BTN_DPAD_LEFT (line 147) | pub const BTN_DPAD_LEFT: EvCode = EvCode(29); constant BTN_DPAD_RIGHT (line 148) | pub const BTN_DPAD_RIGHT: EvCode = EvCode(30); FILE: gilrs-core/src/platform/default/mod.rs constant IS_Y_AXIS_REVERSED (line 14) | pub const IS_Y_AXIS_REVERSED: bool = false; FILE: gilrs-core/src/platform/linux/ff.rs type Device (line 18) | pub struct Device { method new (line 24) | pub(crate) fn new(path: &str) -> IoResult { method set_ff_state (line 48) | pub fn set_ff_state(&mut self, strong: u16, weak: u16, min_duration: D... method drop (line 106) | fn drop(&mut self) { constant EV_FF (line 123) | const EV_FF: u16 = 0x15; constant FF_RUMBLE (line 124) | const FF_RUMBLE: u16 = 0x50; FILE: gilrs-core/src/platform/linux/gamepad.rs constant HOTPLUG_DATA (line 41) | const HOTPLUG_DATA: u64 = u64::MAX; type Gilrs (line 44) | pub struct Gilrs { method new (line 61) | pub(crate) fn new() -> Result { method next_event (line 208) | pub(crate) fn next_event(&mut self) -> Option { method next_event_blocking (line 212) | pub(crate) fn next_event_blocking(&mut self, timeout: Option... method next_event_impl (line 216) | fn next_event_impl(&mut self, timeout: Option) -> Option Option<&Gamepad> { method last_gamepad_hint (line 293) | pub fn last_gamepad_hint(&self) -> usize { method handle_hotplug (line 297) | fn handle_hotplug(&mut self) -> Option { type DiscoveryBackend (line 53) | enum DiscoveryBackend { constant INPUT_DIR_PATH (line 58) | const INPUT_DIR_PATH: &str = "/dev/input"; type HotplugEvent (line 357) | enum HotplugEvent { function handle_inotify (line 362) | fn handle_inotify( function get_gamepad_path (line 413) | fn get_gamepad_path(name: &str) -> Option<(PathBuf, PathBuf)> { function handle_hotplug (line 429) | fn handle_hotplug(sender: Sender, monitor: Monitor, event:... type AxesInfo (line 495) | struct AxesInfo { method new (line 500) | fn new(fd: i32) -> Self { type Output (line 531) | type Output = AxisInfo; method index (line 533) | fn index(&self, i: u16) -> &Self::Output { type Gamepad (line 539) | pub struct Gamepad { method open (line 559) | fn open(path: &CStr, syspath: &Path, discovery_backend: DiscoveryBacke... method register_fd (line 645) | fn register_fd(&self, epoll: &Epoll, data: u64) -> Result<(), Errno> { method collect_axes_and_buttons (line 650) | fn collect_axes_and_buttons(&mut self) { method get_name (line 673) | fn get_name(fd: i32) -> Option { method get_input_id (line 688) | fn get_input_id(fd: i32) -> Option { method test_ff (line 699) | fn test_ff(fd: i32) -> bool { method is_gamepad (line 719) | fn is_gamepad(&self) -> bool { method find_buttons (line 724) | fn find_buttons(key_bits: &[u8], only_gamepad_btns: bool) -> Vec Vec { method battery_fd (line 766) | fn battery_fd(syspath: &Path) -> (i32, i32) { method event (line 785) | fn event(&mut self) -> Option<(EventType, SystemTime)> { method next_event (line 832) | fn next_event(&mut self) -> Option { method compare_state (line 865) | fn compare_state(&mut self) { method disconnect (line 913) | fn disconnect(&mut self) { method is_connected (line 924) | pub fn is_connected(&self) -> bool { method power_info (line 928) | pub fn power_info(&self) -> PowerInfo { method is_ff_supported (line 982) | pub fn is_ff_supported(&self) -> bool { method name (line 986) | pub fn name(&self) -> &str { method uuid (line 990) | pub fn uuid(&self) -> Uuid { method vendor_id (line 994) | pub fn vendor_id(&self) -> Option { method product_id (line 998) | pub fn product_id(&self) -> Option { method ff_device (line 1002) | pub fn ff_device(&self) -> Option { method buttons (line 1010) | pub fn buttons(&self) -> &[EvCode] { method axes (line 1014) | pub fn axes(&self) -> &[EvCode] { method axis_info (line 1018) | pub(crate) fn axis_info(&self, nec: EvCode) -> Option<&AxisInfo> { method drop (line 1028) | fn drop(&mut self) { method eq (line 1044) | fn eq(&self, other: &Self) -> bool { function create_uuid (line 1049) | fn create_uuid(iid: ioctl::input_id) -> Uuid { function cstr_new (line 1071) | unsafe fn cstr_new(bytes: &[u8]) -> &CStr { type EvCode (line 1080) | pub struct EvCode { method new (line 1086) | fn new(kind: u16, code: u16) -> Self { method into_u32 (line 1090) | pub fn into_u32(self) -> u32 { function from (line 1096) | fn from(f: input_event) -> Self { method fmt (line 1105) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { type Error (line 1122) | enum Error { method fmt (line 1129) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { function errno_to_platform_error (line 1140) | fn errno_to_platform_error(errno: Errno, ctx: &'static str) -> PlatformE... constant KEY_MAX (line 1144) | const KEY_MAX: u16 = 0x2ff; constant EV_MAX (line 1146) | const EV_MAX: u16 = 0x1f; constant EV_SYN (line 1147) | const EV_SYN: u16 = 0x00; constant EV_KEY (line 1148) | const EV_KEY: u16 = 0x01; constant EV_REL (line 1149) | const EV_REL: u16 = 0x02; constant EV_ABS (line 1150) | const EV_ABS: u16 = 0x03; constant EV_MSC (line 1151) | const EV_MSC: u16 = 0x04; constant EV_SW (line 1152) | const EV_SW: u16 = 0x05; constant ABS_MAX (line 1153) | const ABS_MAX: u16 = 0x3f; constant EV_FF (line 1154) | const EV_FF: u16 = 0x15; constant SYN_REPORT (line 1156) | const SYN_REPORT: u16 = 0x00; constant SYN_DROPPED (line 1157) | const SYN_DROPPED: u16 = 0x03; constant BTN_MISC (line 1159) | const BTN_MISC: u16 = 0x100; constant BTN_MOUSE (line 1160) | const BTN_MOUSE: u16 = 0x110; constant BTN_JOYSTICK (line 1161) | const BTN_JOYSTICK: u16 = 0x120; constant BTN_SOUTH (line 1162) | const BTN_SOUTH: u16 = 0x130; constant BTN_EAST (line 1163) | const BTN_EAST: u16 = 0x131; constant BTN_C (line 1165) | const BTN_C: u16 = 0x132; constant BTN_NORTH (line 1166) | const BTN_NORTH: u16 = 0x133; constant BTN_WEST (line 1167) | const BTN_WEST: u16 = 0x134; constant BTN_Z (line 1169) | const BTN_Z: u16 = 0x135; constant BTN_TL (line 1170) | const BTN_TL: u16 = 0x136; constant BTN_TR (line 1171) | const BTN_TR: u16 = 0x137; constant BTN_TL2 (line 1172) | const BTN_TL2: u16 = 0x138; constant BTN_TR2 (line 1173) | const BTN_TR2: u16 = 0x139; constant BTN_SELECT (line 1174) | const BTN_SELECT: u16 = 0x13a; constant BTN_START (line 1175) | const BTN_START: u16 = 0x13b; constant BTN_MODE (line 1176) | const BTN_MODE: u16 = 0x13c; constant BTN_THUMBL (line 1177) | const BTN_THUMBL: u16 = 0x13d; constant BTN_THUMBR (line 1178) | const BTN_THUMBR: u16 = 0x13e; constant BTN_DPAD_UP (line 1180) | const BTN_DPAD_UP: u16 = 0x220; constant BTN_DPAD_DOWN (line 1181) | const BTN_DPAD_DOWN: u16 = 0x221; constant BTN_DPAD_LEFT (line 1182) | const BTN_DPAD_LEFT: u16 = 0x222; constant BTN_DPAD_RIGHT (line 1183) | const BTN_DPAD_RIGHT: u16 = 0x223; constant ABS_X (line 1185) | const ABS_X: u16 = 0x00; constant ABS_Y (line 1186) | const ABS_Y: u16 = 0x01; constant ABS_Z (line 1187) | const ABS_Z: u16 = 0x02; constant ABS_RX (line 1188) | const ABS_RX: u16 = 0x03; constant ABS_RY (line 1189) | const ABS_RY: u16 = 0x04; constant ABS_RZ (line 1190) | const ABS_RZ: u16 = 0x05; constant ABS_HAT0X (line 1191) | const ABS_HAT0X: u16 = 0x10; constant ABS_HAT0Y (line 1192) | const ABS_HAT0Y: u16 = 0x11; constant ABS_HAT1X (line 1193) | const ABS_HAT1X: u16 = 0x12; constant ABS_HAT1Y (line 1194) | const ABS_HAT1Y: u16 = 0x13; constant ABS_HAT2X (line 1195) | const ABS_HAT2X: u16 = 0x14; constant ABS_HAT2Y (line 1196) | const ABS_HAT2Y: u16 = 0x15; constant FF_MAX (line 1198) | const FF_MAX: u16 = FF_GAIN; constant FF_SQUARE (line 1199) | const FF_SQUARE: u16 = 0x58; constant FF_TRIANGLE (line 1200) | const FF_TRIANGLE: u16 = 0x59; constant FF_SINE (line 1201) | const FF_SINE: u16 = 0x5a; constant FF_GAIN (line 1202) | const FF_GAIN: u16 = 0x60; constant BTN_SOUTH (line 1207) | pub const BTN_SOUTH: EvCode = EvCode { constant BTN_EAST (line 1211) | pub const BTN_EAST: EvCode = EvCode { constant BTN_C (line 1215) | pub const BTN_C: EvCode = EvCode { constant BTN_NORTH (line 1219) | pub const BTN_NORTH: EvCode = EvCode { constant BTN_WEST (line 1223) | pub const BTN_WEST: EvCode = EvCode { constant BTN_Z (line 1227) | pub const BTN_Z: EvCode = EvCode { constant BTN_LT (line 1231) | pub const BTN_LT: EvCode = EvCode { constant BTN_RT (line 1235) | pub const BTN_RT: EvCode = EvCode { constant BTN_LT2 (line 1239) | pub const BTN_LT2: EvCode = EvCode { constant BTN_RT2 (line 1243) | pub const BTN_RT2: EvCode = EvCode { constant BTN_SELECT (line 1247) | pub const BTN_SELECT: EvCode = EvCode { constant BTN_START (line 1251) | pub const BTN_START: EvCode = EvCode { constant BTN_MODE (line 1255) | pub const BTN_MODE: EvCode = EvCode { constant BTN_LTHUMB (line 1259) | pub const BTN_LTHUMB: EvCode = EvCode { constant BTN_RTHUMB (line 1263) | pub const BTN_RTHUMB: EvCode = EvCode { constant BTN_DPAD_UP (line 1267) | pub const BTN_DPAD_UP: EvCode = EvCode { constant BTN_DPAD_DOWN (line 1271) | pub const BTN_DPAD_DOWN: EvCode = EvCode { constant BTN_DPAD_LEFT (line 1275) | pub const BTN_DPAD_LEFT: EvCode = EvCode { constant BTN_DPAD_RIGHT (line 1279) | pub const BTN_DPAD_RIGHT: EvCode = EvCode { constant AXIS_LSTICKX (line 1284) | pub const AXIS_LSTICKX: EvCode = EvCode { constant AXIS_LSTICKY (line 1288) | pub const AXIS_LSTICKY: EvCode = EvCode { constant AXIS_LEFTZ (line 1292) | pub const AXIS_LEFTZ: EvCode = EvCode { constant AXIS_RSTICKX (line 1296) | pub const AXIS_RSTICKX: EvCode = EvCode { constant AXIS_RSTICKY (line 1300) | pub const AXIS_RSTICKY: EvCode = EvCode { constant AXIS_RIGHTZ (line 1304) | pub const AXIS_RIGHTZ: EvCode = EvCode { constant AXIS_DPADX (line 1308) | pub const AXIS_DPADX: EvCode = EvCode { constant AXIS_DPADY (line 1312) | pub const AXIS_DPADY: EvCode = EvCode { constant AXIS_RT (line 1316) | pub const AXIS_RT: EvCode = EvCode { constant AXIS_LT (line 1320) | pub const AXIS_LT: EvCode = EvCode { constant AXIS_RT2 (line 1324) | pub const AXIS_RT2: EvCode = EvCode { constant AXIS_LT2 (line 1328) | pub const AXIS_LT2: EvCode = EvCode { function sdl_uuid (line 1341) | fn sdl_uuid() { FILE: gilrs-core/src/platform/linux/ioctl.rs type IoctlRequest (line 17) | pub type IoctlRequest = libc::c_int; type IoctlRequest (line 19) | pub type IoctlRequest = libc::c_ulong; function eviocgbit (line 27) | pub unsafe fn eviocgbit(fd: libc::c_int, ev: u32, len: libc::c_int, buf:... function eviocgabs (line 35) | pub unsafe fn eviocgabs(fd: ::libc::c_int, abs: u32, buf: *mut input_abs... type input_event (line 46) | pub struct input_event { method default (line 54) | fn default() -> Self { method fmt (line 60) | fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { type input_id (line 71) | pub struct input_id { type input_absinfo (line 80) | pub struct input_absinfo { type ff_replay (line 91) | pub struct ff_replay { type ff_trigger (line 98) | pub struct ff_trigger { type ff_envelope (line 105) | pub struct ff_envelope { type ff_constant_effect (line 114) | pub struct ff_constant_effect { type ff_ramp_effect (line 121) | pub struct ff_ramp_effect { type ff_condition_effect (line 129) | pub struct ff_condition_effect { type ff_periodic_effect (line 142) | pub struct ff_periodic_effect { type ff_rumble_effect (line 157) | pub struct ff_rumble_effect { type ff_effect (line 164) | pub struct ff_effect { FILE: gilrs-core/src/platform/linux/mod.rs constant IS_Y_AXIS_REVERSED (line 16) | pub const IS_Y_AXIS_REVERSED: bool = true; FILE: gilrs-core/src/platform/linux/udev.rs type Udev (line 15) | pub struct Udev(*mut ud::udev); method new (line 18) | pub fn new() -> Option { method enumerate (line 27) | pub fn enumerate(&self) -> Option { method drop (line 39) | fn drop(&mut self) { method clone (line 47) | fn clone(&self) -> Self { type Enumerate (line 52) | pub struct Enumerate(*mut ud::udev_enumerate); method scan_devices (line 55) | pub fn scan_devices(&self) { method add_match_property (line 60) | pub fn add_match_property(&self, key: &CStr, val: &CStr) { method add_match_subsystem (line 67) | pub fn add_match_subsystem(&self, subsystem: &CStr) { method iter (line 74) | pub fn iter(&self) -> DeviceIterator { method drop (line 80) | fn drop(&mut self) { type DeviceIterator (line 87) | pub struct DeviceIterator(*mut ud::udev_list_entry); type Item (line 90) | type Item = CString; method next (line 92) | fn next(&mut self) -> Option { type Device (line 108) | pub struct Device(*mut ud::udev_device); method from_syspath (line 111) | pub fn from_syspath(udev: &Udev, path: &CStr) -> Option { method syspath (line 120) | pub fn syspath(&self) -> &CStr { method devnode (line 125) | pub fn devnode(&self) -> Option<&CStr> { method properties (line 137) | pub fn properties(&self) -> PropertyIterator { method action (line 142) | pub fn action(&self) -> Option<&CStr> { method property_value (line 153) | pub fn property_value(&self, key: &CStr) -> Option<&CStr> { method clone (line 166) | fn clone(&self) -> Self { method drop (line 172) | fn drop(&mut self) { type PropertyIterator (line 180) | pub struct PropertyIterator(*mut ud::udev_list_entry); type Item (line 183) | type Item = (String, String); method next (line 185) | fn next(&mut self) -> Option<(String, String)> { type Monitor (line 211) | pub struct Monitor(*mut ud::udev_monitor); method new (line 214) | pub fn new(udev: &Udev) -> Option { method wait_hotplug_available (line 232) | pub fn wait_hotplug_available(&self) -> bool { method device (line 243) | pub fn device(&self) -> Device { method drop (line 249) | fn drop(&mut self) { FILE: gilrs-core/src/platform/macos/ff.rs type Device (line 12) | pub struct Device; method set_ff_state (line 16) | pub fn set_ff_state(&mut self, _strong: u16, _weak: u16, _min_duration... FILE: gilrs-core/src/platform/macos/gamepad.rs type Gilrs (line 30) | pub struct Gilrs { method new (line 37) | pub(crate) fn new() -> Result { method spawn_thread (line 51) | fn spawn_thread( method next_event (line 96) | pub(crate) fn next_event(&mut self) -> Option { method next_event_blocking (line 101) | pub(crate) fn next_event_blocking(&mut self, timeout: Option... method handle_event (line 111) | fn handle_event(&mut self, event: Option<(Event, Option)>) -> ... method gamepad (line 156) | pub fn gamepad(&self, id: usize) -> Option<&Gamepad> { method last_gamepad_hint (line 161) | pub fn last_gamepad_hint(&self) -> usize { type Gamepad (line 168) | pub struct Gamepad { method open (line 185) | fn open(device: &IOHIDDevice) -> Option { method create_uuid (line 275) | fn create_uuid(device: &IOHIDDevice) -> Option { method name (line 324) | pub fn name(&self) -> &str { method vendor_id (line 328) | pub fn vendor_id(&self) -> Option { method product_id (line 332) | pub fn product_id(&self) -> Option { method uuid (line 336) | pub fn uuid(&self) -> Uuid { method power_info (line 340) | pub fn power_info(&self) -> PowerInfo { method is_ff_supported (line 344) | pub fn is_ff_supported(&self) -> bool { method ff_device (line 349) | pub fn ff_device(&self) -> Option { method buttons (line 353) | pub fn buttons(&self) -> &[EvCode] { method axes (line 357) | pub fn axes(&self) -> &[EvCode] { method axis_info (line 361) | pub(crate) fn axis_info(&self, nec: EvCode) -> Option<&AxisInfo> { method is_connected (line 365) | pub fn is_connected(&self) -> bool { method collect_axes_and_buttons (line 369) | fn collect_axes_and_buttons(&mut self, elements: &Vec>, c... method collect_buttons (line 429) | fn collect_buttons( type DeviceInfo (line 452) | struct DeviceInfo { type EvCode (line 462) | pub struct EvCode { method new (line 468) | fn new(page: u32, usage: u32) -> Self { method into_u32 (line 472) | pub fn into_u32(self) -> u32 { function from (line 478) | fn from(e: IOHIDElement) -> Self { method fmt (line 487) | fn fmt(&self, f: &mut Formatter) -> FmtResult { constant AXIS_LSTICKX (line 500) | pub const AXIS_LSTICKX: EvCode = EvCode { constant AXIS_LSTICKY (line 504) | pub const AXIS_LSTICKY: EvCode = EvCode { constant AXIS_LEFTZ (line 508) | pub const AXIS_LEFTZ: EvCode = EvCode { constant AXIS_RSTICKX (line 512) | pub const AXIS_RSTICKX: EvCode = EvCode { constant AXIS_RSTICKY (line 516) | pub const AXIS_RSTICKY: EvCode = EvCode { constant AXIS_RIGHTZ (line 520) | pub const AXIS_RIGHTZ: EvCode = EvCode { constant AXIS_DPADX (line 524) | pub const AXIS_DPADX: EvCode = EvCode { constant AXIS_DPADY (line 528) | pub const AXIS_DPADY: EvCode = EvCode { constant AXIS_RT (line 532) | pub const AXIS_RT: EvCode = EvCode { constant AXIS_LT (line 536) | pub const AXIS_LT: EvCode = EvCode { constant AXIS_RT2 (line 540) | pub const AXIS_RT2: EvCode = EvCode { constant AXIS_LT2 (line 544) | pub const AXIS_LT2: EvCode = EvCode { constant BTN_SOUTH (line 549) | pub const BTN_SOUTH: EvCode = EvCode { constant BTN_EAST (line 553) | pub const BTN_EAST: EvCode = EvCode { constant BTN_C (line 557) | pub const BTN_C: EvCode = EvCode { constant BTN_NORTH (line 561) | pub const BTN_NORTH: EvCode = EvCode { constant BTN_WEST (line 565) | pub const BTN_WEST: EvCode = EvCode { constant BTN_Z (line 569) | pub const BTN_Z: EvCode = EvCode { constant BTN_LT (line 573) | pub const BTN_LT: EvCode = EvCode { constant BTN_RT (line 577) | pub const BTN_RT: EvCode = EvCode { constant BTN_LT2 (line 581) | pub const BTN_LT2: EvCode = EvCode { constant BTN_RT2 (line 585) | pub const BTN_RT2: EvCode = EvCode { constant BTN_SELECT (line 589) | pub const BTN_SELECT: EvCode = EvCode { constant BTN_START (line 593) | pub const BTN_START: EvCode = EvCode { constant BTN_MODE (line 597) | pub const BTN_MODE: EvCode = EvCode { constant BTN_LTHUMB (line 601) | pub const BTN_LTHUMB: EvCode = EvCode { constant BTN_RTHUMB (line 605) | pub const BTN_RTHUMB: EvCode = EvCode { constant BTN_DPAD_UP (line 610) | pub const BTN_DPAD_UP: EvCode = EvCode { constant BTN_DPAD_DOWN (line 614) | pub const BTN_DPAD_DOWN: EvCode = EvCode { constant BTN_DPAD_LEFT (line 618) | pub const BTN_DPAD_LEFT: EvCode = EvCode { constant BTN_DPAD_RIGHT (line 622) | pub const BTN_DPAD_RIGHT: EvCode = EvCode { type Context (line 628) | type Context = (Sender<(Event, Option)>, Arc Option> { type Device (line 51) | pub struct Device(pub CFRetained); type DeviceExt (line 57) | pub trait DeviceExt: Properties { method device (line 58) | fn device(&self) -> &IOHIDDevice; method get_name (line 60) | fn get_name(&self) -> Option { method get_location_id (line 65) | fn get_location_id(&self) -> Option { method get_vendor_id (line 70) | fn get_vendor_id(&self) -> Option { method get_product_id (line 75) | fn get_product_id(&self) -> Option { method get_version (line 80) | fn get_version(&self) -> Option { method get_page (line 85) | fn get_page(&self) -> Option { method get_usage (line 90) | fn get_usage(&self) -> Option { method get_service (line 95) | fn get_service(&self) -> Option { method device (line 116) | fn device(&self) -> &IOHIDDevice { function device_elements (line 100) | pub fn device_elements(device: &IOHIDDevice) -> Vec bool { function element_is_axis (line 140) | pub fn element_is_axis(type_: IOHIDElementType, page: u32, usage: u32) -... function element_is_button (line 172) | pub fn element_is_button(type_: IOHIDElementType, page: u32, usage: u32)... function element_is_hat (line 194) | pub fn element_is_hat(type_: IOHIDElementType, page: u32, usage: u32) ->... function element_children (line 206) | pub fn element_children(element: &IOHIDElement) -> Vec Option { method get_registry_entry_id (line 254) | pub fn get_registry_entry_id(&self) -> Option { method drop (line 272) | fn drop(&mut self) { type Properties (line 277) | pub trait Properties { method get_property (line 122) | fn get_property(&self, key: &CStr) -> Option> { method get_property (line 220) | fn get_property(&self, key: &CStr) -> Option> { method get_property (line 278) | fn get_property(&self, key: &CStr) -> Option>; method get_number_property (line 280) | fn get_number_property(&self, key: &CStr) -> Option Option Result { method next_event (line 49) | pub(crate) fn next_event(&mut self) -> Option { method next_event_blocking (line 182) | pub(crate) fn next_event_blocking(&mut self, _timeout: Option Option<&Gamepad> { method last_gamepad_hint (line 190) | pub fn last_gamepad_hint(&self) -> usize { type Mapping (line 197) | enum Mapping { method buttons (line 209) | fn buttons(&self) -> &[(bool, f64)] { method buttons_mut (line 216) | fn buttons_mut(&mut self) -> &mut [(bool, f64)] { method axes (line 223) | fn axes(&self) -> &[f64] { method axes_mut (line 230) | fn axes_mut(&mut self) -> &mut [f64] { type Gamepad (line 239) | pub struct Gamepad { method new (line 250) | fn new(gamepad: WebGamepad) -> Gamepad { method name (line 327) | pub fn name(&self) -> &str { method uuid (line 331) | pub fn uuid(&self) -> Uuid { method vendor_id (line 335) | pub fn vendor_id(&self) -> Option { method product_id (line 339) | pub fn product_id(&self) -> Option { method is_connected (line 343) | pub fn is_connected(&self) -> bool { method power_info (line 347) | pub fn power_info(&self) -> PowerInfo { method is_ff_supported (line 351) | pub fn is_ff_supported(&self) -> bool { method ff_device (line 355) | pub fn ff_device(&self) -> Option { method buttons (line 359) | pub fn buttons(&self) -> &[EvCode] { method axes (line 363) | pub fn axes(&self) -> &[EvCode] { method button_code (line 367) | fn button_code(&self, index: usize) -> EvCode { method axis_code (line 374) | fn axis_code(&self, index: usize) -> EvCode { method axis_info (line 381) | pub(crate) fn axis_info(&self, _nec: EvCode) -> Option<&AxisInfo> { type EvCode (line 399) | pub struct EvCode(u8); method into_u32 (line 402) | pub fn into_u32(self) -> u32 { method fmt (line 408) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { type Error (line 414) | enum Error { method fmt (line 419) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { constant AXIS_LSTICKX (line 431) | pub const AXIS_LSTICKX: EvCode = EvCode(0); constant AXIS_LSTICKY (line 432) | pub const AXIS_LSTICKY: EvCode = EvCode(1); constant AXIS_LEFTZ (line 433) | pub const AXIS_LEFTZ: EvCode = EvCode(2); constant AXIS_RSTICKX (line 434) | pub const AXIS_RSTICKX: EvCode = EvCode(3); constant AXIS_RSTICKY (line 435) | pub const AXIS_RSTICKY: EvCode = EvCode(4); constant AXIS_RIGHTZ (line 436) | pub const AXIS_RIGHTZ: EvCode = EvCode(5); constant AXIS_DPADX (line 437) | pub const AXIS_DPADX: EvCode = EvCode(6); constant AXIS_DPADY (line 438) | pub const AXIS_DPADY: EvCode = EvCode(7); constant AXIS_RT (line 439) | pub const AXIS_RT: EvCode = EvCode(8); constant AXIS_LT (line 440) | pub const AXIS_LT: EvCode = EvCode(9); constant AXIS_RT2 (line 441) | pub const AXIS_RT2: EvCode = EvCode(10); constant AXIS_LT2 (line 442) | pub const AXIS_LT2: EvCode = EvCode(11); constant BTN_SOUTH (line 444) | pub const BTN_SOUTH: EvCode = EvCode(12); constant BTN_EAST (line 445) | pub const BTN_EAST: EvCode = EvCode(13); constant BTN_C (line 446) | pub const BTN_C: EvCode = EvCode(14); constant BTN_NORTH (line 447) | pub const BTN_NORTH: EvCode = EvCode(15); constant BTN_WEST (line 448) | pub const BTN_WEST: EvCode = EvCode(16); constant BTN_Z (line 449) | pub const BTN_Z: EvCode = EvCode(17); constant BTN_LT (line 450) | pub const BTN_LT: EvCode = EvCode(18); constant BTN_RT (line 451) | pub const BTN_RT: EvCode = EvCode(19); constant BTN_LT2 (line 452) | pub const BTN_LT2: EvCode = EvCode(20); constant BTN_RT2 (line 453) | pub const BTN_RT2: EvCode = EvCode(21); constant BTN_SELECT (line 454) | pub const BTN_SELECT: EvCode = EvCode(22); constant BTN_START (line 455) | pub const BTN_START: EvCode = EvCode(23); constant BTN_MODE (line 456) | pub const BTN_MODE: EvCode = EvCode(24); constant BTN_LTHUMB (line 457) | pub const BTN_LTHUMB: EvCode = EvCode(25); constant BTN_RTHUMB (line 458) | pub const BTN_RTHUMB: EvCode = EvCode(26); constant BTN_DPAD_UP (line 460) | pub const BTN_DPAD_UP: EvCode = EvCode(27); constant BTN_DPAD_DOWN (line 461) | pub const BTN_DPAD_DOWN: EvCode = EvCode(28); constant BTN_DPAD_LEFT (line 462) | pub const BTN_DPAD_LEFT: EvCode = EvCode(29); constant BTN_DPAD_RIGHT (line 463) | pub const BTN_DPAD_RIGHT: EvCode = EvCode(30); FILE: gilrs-core/src/platform/wasm/mod.rs constant IS_Y_AXIS_REVERSED (line 7) | pub const IS_Y_AXIS_REVERSED: bool = true; FILE: gilrs-core/src/platform/windows_wgi/ff.rs type Device (line 12) | pub struct Device { method new (line 18) | pub(crate) fn new(id: u32, wgi_gamepad: Option) -> Self { method set_ff_state (line 22) | pub fn set_ff_state(&mut self, strong: u16, weak: u16, _min_duration: ... FILE: gilrs-core/src/platform/windows_wgi/gamepad.rs constant SDL_HARDWARE_BUS_USB (line 29) | const SDL_HARDWARE_BUS_USB: u32 = 0x03; constant EVENT_THREAD_SLEEP_TIME (line 35) | const EVENT_THREAD_SLEEP_TIME: u64 = 8; constant WGI_TO_GILRS_BUTTON_MAP (line 37) | const WGI_TO_GILRS_BUTTON_MAP: [(GamepadButtons, crate::EvCode); 14] = [ type WgiEvent (line 57) | struct WgiEvent { method new (line 64) | fn new(raw_game_controller: RawGameController, event: EventType) -> Se... type Gilrs (line 75) | pub struct Gilrs { method new (line 83) | pub(crate) fn new() -> Result { method spawn_thread (line 112) | fn spawn_thread(tx: Sender, stop_rx: Receiver<()>) -> JoinHa... method next_event (line 239) | pub(crate) fn next_event(&mut self) -> Option { method next_event_blocking (line 246) | pub(crate) fn next_event_blocking(&mut self, timeout: Option... method handle_event (line 260) | fn handle_event(&mut self, wgi_event: WgiEvent) -> Event { method gamepad (line 291) | pub fn gamepad(&self, id: usize) -> Option<&Gamepad> { method last_gamepad_hint (line 295) | pub fn last_gamepad_hint(&self) -> usize { method drop (line 301) | fn drop(&mut self) { type RawGamepadReading (line 312) | struct RawGamepadReading { method new (line 320) | fn new(raw_game_controller: &RawGameController) -> windows::core::Resu... method update (line 338) | fn update(&mut self, raw_game_controller: &RawGameController) -> windo... function direction_from_switch (line 351) | fn direction_from_switch(switch: GameControllerSwitchPosition) -> (i32, ... type Reading (line 366) | enum Reading { method time (line 372) | fn time(&self) -> u64 { method update (line 379) | fn update(&mut self, controller: &RawGameController) -> windows::core:... method send_events_for_differences (line 392) | fn send_events_for_differences( method is_gamepad (line 514) | fn is_gamepad(&self) -> bool { type Gamepad (line 520) | pub struct Gamepad { method new (line 542) | fn new(id: u32, raw_game_controller: RawGameController) -> Gamepad { method name (line 605) | pub fn name(&self) -> &str { method uuid (line 609) | pub fn uuid(&self) -> Uuid { method vendor_id (line 613) | pub fn vendor_id(&self) -> Option { method product_id (line 617) | pub fn product_id(&self) -> Option { method is_connected (line 621) | pub fn is_connected(&self) -> bool { method power_info (line 625) | pub fn power_info(&self) -> PowerInfo { method power_info_err (line 630) | fn power_info_err(&self) -> windows::core::Result { method is_ff_supported (line 656) | pub fn is_ff_supported(&self) -> bool { method ff_device (line 666) | pub fn ff_device(&self) -> Option { method buttons (line 670) | pub fn buttons(&self) -> &[EvCode] { method axes (line 677) | pub fn axes(&self) -> &[EvCode] { method axis_info (line 684) | pub(crate) fn axis_info(&self, nec: EvCode) -> Option<&AxisInfo> { method collect_axes_and_buttons (line 720) | fn collect_axes_and_buttons(&mut self) { type EvCodeKind (line 760) | enum EvCodeKind { method fmt (line 767) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { type EvCode (line 779) | pub struct EvCode { method into_u32 (line 785) | pub fn into_u32(self) -> u32 { method fmt (line 791) | fn fmt(&self, f: &mut Formatter) -> FmtResult { constant AXIS_LSTICKX (line 799) | pub const AXIS_LSTICKX: EvCode = EvCode { constant AXIS_LSTICKY (line 803) | pub const AXIS_LSTICKY: EvCode = EvCode { constant AXIS_RSTICKX (line 807) | pub const AXIS_RSTICKX: EvCode = EvCode { constant AXIS_LT2 (line 811) | pub const AXIS_LT2: EvCode = EvCode { constant AXIS_RT2 (line 815) | pub const AXIS_RT2: EvCode = EvCode { constant AXIS_RSTICKY (line 819) | pub const AXIS_RSTICKY: EvCode = EvCode { constant AXIS_RT (line 823) | pub const AXIS_RT: EvCode = EvCode { constant AXIS_LT (line 827) | pub const AXIS_LT: EvCode = EvCode { constant AXIS_LEFTZ (line 831) | pub const AXIS_LEFTZ: EvCode = EvCode { constant AXIS_RIGHTZ (line 835) | pub const AXIS_RIGHTZ: EvCode = EvCode { constant AXIS_DPADX (line 840) | pub const AXIS_DPADX: EvCode = EvCode { constant AXIS_DPADY (line 844) | pub const AXIS_DPADY: EvCode = EvCode { constant BTN_WEST (line 849) | pub const BTN_WEST: EvCode = EvCode { constant BTN_SOUTH (line 853) | pub const BTN_SOUTH: EvCode = EvCode { constant BTN_EAST (line 857) | pub const BTN_EAST: EvCode = EvCode { constant BTN_NORTH (line 861) | pub const BTN_NORTH: EvCode = EvCode { constant BTN_LT (line 865) | pub const BTN_LT: EvCode = EvCode { constant BTN_RT (line 869) | pub const BTN_RT: EvCode = EvCode { constant BTN_LT2 (line 873) | pub const BTN_LT2: EvCode = EvCode { constant BTN_RT2 (line 877) | pub const BTN_RT2: EvCode = EvCode { constant BTN_SELECT (line 881) | pub const BTN_SELECT: EvCode = EvCode { constant BTN_START (line 885) | pub const BTN_START: EvCode = EvCode { constant BTN_LTHUMB (line 889) | pub const BTN_LTHUMB: EvCode = EvCode { constant BTN_RTHUMB (line 893) | pub const BTN_RTHUMB: EvCode = EvCode { constant BTN_MODE (line 897) | pub const BTN_MODE: EvCode = EvCode { constant BTN_C (line 901) | pub const BTN_C: EvCode = EvCode { constant BTN_Z (line 905) | pub const BTN_Z: EvCode = EvCode { constant BTN_DPAD_UP (line 915) | pub const BTN_DPAD_UP: EvCode = EvCode { constant BTN_DPAD_RIGHT (line 919) | pub const BTN_DPAD_RIGHT: EvCode = EvCode { constant BTN_DPAD_DOWN (line 923) | pub const BTN_DPAD_DOWN: EvCode = EvCode { constant BTN_DPAD_LEFT (line 927) | pub const BTN_DPAD_LEFT: EvCode = EvCode { FILE: gilrs-core/src/platform/windows_wgi/mod.rs constant IS_Y_AXIS_REVERSED (line 13) | pub const IS_Y_AXIS_REVERSED: bool = true; FILE: gilrs-core/src/platform/windows_xinput/ff.rs type Device (line 13) | pub struct Device { method new (line 19) | pub(crate) fn new(id: u32, xinput_handle: Arc) -> Self { method set_ff_state (line 23) | pub fn set_ff_state(&mut self, strong: u16, weak: u16, _min_duration: ... FILE: gilrs-core/src/platform/windows_xinput/gamepad.rs constant EVENT_THREAD_SLEEP_TIME (line 33) | const EVENT_THREAD_SLEEP_TIME: u64 = 10; constant ITERATIONS_TO_CHECK_IF_CONNECTED (line 34) | const ITERATIONS_TO_CHECK_IF_CONNECTED: u64 = 100; constant MAX_XINPUT_CONTROLLERS (line 36) | const MAX_XINPUT_CONTROLLERS: usize = 4; type Gilrs (line 39) | pub struct Gilrs { method new (line 45) | pub(crate) fn new() -> Result { method next_event (line 69) | pub(crate) fn next_event(&mut self) -> Option { method next_event_blocking (line 76) | pub(crate) fn next_event_blocking(&mut self, timeout: Option... method handle_evevnt (line 88) | fn handle_evevnt(&mut self, ev: Option) { method gamepad (line 98) | pub fn gamepad(&self, id: usize) -> Option<&Gamepad> { method last_gamepad_hint (line 102) | pub fn last_gamepad_hint(&self) -> usize { method spawn_thread (line 106) | fn spawn_thread( method compare_state (line 159) | fn compare_state(id: usize, g: &XGamepad, pg: &XGamepad, tx: &Sender) -> Gamepad { method name (line 405) | pub fn name(&self) -> &str { method uuid (line 409) | pub fn uuid(&self) -> Uuid { method vendor_id (line 413) | pub fn vendor_id(&self) -> Option { method product_id (line 417) | pub fn product_id(&self) -> Option { method is_connected (line 421) | pub fn is_connected(&self) -> bool { method power_info (line 425) | pub fn power_info(&self) -> PowerInfo { method is_ff_supported (line 457) | pub fn is_ff_supported(&self) -> bool { method ff_device (line 461) | pub fn ff_device(&self) -> Option { method buttons (line 465) | pub fn buttons(&self) -> &[EvCode] { method axes (line 469) | pub fn axes(&self) -> &[EvCode] { method axis_info (line 473) | pub(crate) fn axis_info(&self, nec: EvCode) -> Option<&AxisInfo> { function is_mask_eq (line 481) | fn is_mask_eq(l: u16, r: u16, mask: u16) -> bool { type EvCode (line 490) | pub struct EvCode(u8); method into_u32 (line 493) | pub fn into_u32(self) -> u32 { method fmt (line 499) | fn fmt(&self, f: &mut Formatter) -> FmtResult { type Error (line 505) | enum Error { method fmt (line 512) | fn fmt(&self, f: &mut Formatter) -> FmtResult { constant AXIS_LSTICKX (line 530) | pub const AXIS_LSTICKX: EvCode = EvCode(0); constant AXIS_LSTICKY (line 531) | pub const AXIS_LSTICKY: EvCode = EvCode(1); constant AXIS_LEFTZ (line 532) | pub const AXIS_LEFTZ: EvCode = EvCode(2); constant AXIS_RSTICKX (line 533) | pub const AXIS_RSTICKX: EvCode = EvCode(3); constant AXIS_RSTICKY (line 534) | pub const AXIS_RSTICKY: EvCode = EvCode(4); constant AXIS_RIGHTZ (line 535) | pub const AXIS_RIGHTZ: EvCode = EvCode(5); constant AXIS_DPADX (line 536) | pub const AXIS_DPADX: EvCode = EvCode(6); constant AXIS_DPADY (line 537) | pub const AXIS_DPADY: EvCode = EvCode(7); constant AXIS_RT (line 538) | pub const AXIS_RT: EvCode = EvCode(8); constant AXIS_LT (line 539) | pub const AXIS_LT: EvCode = EvCode(9); constant AXIS_RT2 (line 540) | pub const AXIS_RT2: EvCode = EvCode(10); constant AXIS_LT2 (line 541) | pub const AXIS_LT2: EvCode = EvCode(11); constant BTN_SOUTH (line 543) | pub const BTN_SOUTH: EvCode = EvCode(12); constant BTN_EAST (line 544) | pub const BTN_EAST: EvCode = EvCode(13); constant BTN_C (line 545) | pub const BTN_C: EvCode = EvCode(14); constant BTN_NORTH (line 546) | pub const BTN_NORTH: EvCode = EvCode(15); constant BTN_WEST (line 547) | pub const BTN_WEST: EvCode = EvCode(16); constant BTN_Z (line 548) | pub const BTN_Z: EvCode = EvCode(17); constant BTN_LT (line 549) | pub const BTN_LT: EvCode = EvCode(18); constant BTN_RT (line 550) | pub const BTN_RT: EvCode = EvCode(19); constant BTN_LT2 (line 551) | pub const BTN_LT2: EvCode = EvCode(20); constant BTN_RT2 (line 552) | pub const BTN_RT2: EvCode = EvCode(21); constant BTN_SELECT (line 553) | pub const BTN_SELECT: EvCode = EvCode(22); constant BTN_START (line 554) | pub const BTN_START: EvCode = EvCode(23); constant BTN_MODE (line 555) | pub const BTN_MODE: EvCode = EvCode(24); constant BTN_LTHUMB (line 556) | pub const BTN_LTHUMB: EvCode = EvCode(25); constant BTN_RTHUMB (line 557) | pub const BTN_RTHUMB: EvCode = EvCode(26); constant BTN_DPAD_UP (line 559) | pub const BTN_DPAD_UP: EvCode = EvCode(27); constant BTN_DPAD_DOWN (line 560) | pub const BTN_DPAD_DOWN: EvCode = EvCode(28); constant BTN_DPAD_LEFT (line 561) | pub const BTN_DPAD_LEFT: EvCode = EvCode(29); constant BTN_DPAD_RIGHT (line 562) | pub const BTN_DPAD_RIGHT: EvCode = EvCode(30); FILE: gilrs-core/src/platform/windows_xinput/mod.rs constant IS_Y_AXIS_REVERSED (line 13) | pub const IS_Y_AXIS_REVERSED: bool = false; FILE: gilrs-core/src/utils.rs function test_bit (line 5) | pub(crate) fn test_bit(n: u16, array: &[u8]) -> bool { function time_now (line 10) | pub fn time_now() -> SystemTime { function time_now (line 15) | pub fn time_now() -> SystemTime { FILE: gilrs/build.rs constant PATH_SEPARATOR (line 14) | const PATH_SEPARATOR: &str = "backslash"; constant PATH_SEPARATOR (line 17) | const PATH_SEPARATOR: &str = "slash"; function main (line 19) | fn main() { FILE: gilrs/examples/ev.rs function main (line 13) | fn main() { FILE: gilrs/examples/ff.rs function main (line 13) | fn main() { FILE: gilrs/examples/ff_pos.rs type Modify (line 16) | enum Modify { method next (line 24) | fn next(&mut self) { method prev (line 36) | fn prev(&mut self) { function main (line 49) | fn main() { FILE: gilrs/examples/gamepad_info.rs function main (line 4) | fn main() { FILE: gilrs/examples/gui.rs type MyEguiApp (line 14) | struct MyEguiApp { method log (line 59) | fn log(&mut self, message: String) { method new (line 66) | fn new(_cc: &eframe::CreationContext<'_>) -> Self { method update (line 72) | fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { method default (line 25) | fn default() -> Self { function main (line 308) | fn main() { function main (line 322) | fn main() { FILE: gilrs/src/constants.rs constant BTN_UNKNOWN (line 8) | pub const BTN_UNKNOWN: u16 = 0; constant BTN_SOUTH (line 10) | pub const BTN_SOUTH: u16 = 1; constant BTN_EAST (line 11) | pub const BTN_EAST: u16 = 2; constant BTN_C (line 12) | pub const BTN_C: u16 = 3; constant BTN_NORTH (line 13) | pub const BTN_NORTH: u16 = 4; constant BTN_WEST (line 14) | pub const BTN_WEST: u16 = 5; constant BTN_Z (line 15) | pub const BTN_Z: u16 = 6; constant BTN_LT (line 16) | pub const BTN_LT: u16 = 7; constant BTN_RT (line 17) | pub const BTN_RT: u16 = 8; constant BTN_LT2 (line 18) | pub const BTN_LT2: u16 = 9; constant BTN_RT2 (line 19) | pub const BTN_RT2: u16 = 10; constant BTN_SELECT (line 20) | pub const BTN_SELECT: u16 = 11; constant BTN_START (line 21) | pub const BTN_START: u16 = 12; constant BTN_MODE (line 22) | pub const BTN_MODE: u16 = 13; constant BTN_LTHUMB (line 23) | pub const BTN_LTHUMB: u16 = 14; constant BTN_RTHUMB (line 24) | pub const BTN_RTHUMB: u16 = 15; constant BTN_DPAD_UP (line 26) | pub const BTN_DPAD_UP: u16 = 16; constant BTN_DPAD_DOWN (line 27) | pub const BTN_DPAD_DOWN: u16 = 17; constant BTN_DPAD_LEFT (line 28) | pub const BTN_DPAD_LEFT: u16 = 18; constant BTN_DPAD_RIGHT (line 29) | pub const BTN_DPAD_RIGHT: u16 = 19; constant AXIS_UNKNOWN (line 31) | pub const AXIS_UNKNOWN: u16 = 0; constant AXIS_LSTICKX (line 33) | pub const AXIS_LSTICKX: u16 = 1; constant AXIS_LSTICKY (line 34) | pub const AXIS_LSTICKY: u16 = 2; constant AXIS_LEFTZ (line 35) | pub const AXIS_LEFTZ: u16 = 3; constant AXIS_RSTICKX (line 36) | pub const AXIS_RSTICKX: u16 = 4; constant AXIS_RSTICKY (line 37) | pub const AXIS_RSTICKY: u16 = 5; constant AXIS_RIGHTZ (line 38) | pub const AXIS_RIGHTZ: u16 = 6; constant AXIS_DPADX (line 39) | pub const AXIS_DPADX: u16 = 7; constant AXIS_DPADY (line 40) | pub const AXIS_DPADY: u16 = 8; FILE: gilrs/src/ev/filter.rs type Jitter (line 84) | pub struct Jitter { method new (line 90) | pub fn new() -> Self { method default (line 96) | fn default() -> Self { function apply_deadzone (line 119) | fn apply_deadzone(x: f32, y: f32, threshold: f32) -> (f32, f32) { function deadzone_nonzero_axis_idx (line 129) | fn deadzone_nonzero_axis_idx(axis: Axis) -> Option { function deadzone (line 144) | pub fn deadzone(ev: Option, gilrs: &mut Gilrs) -> Option { function axis_dpad_to_button (line 241) | pub fn axis_dpad_to_button(ev: Option, gilrs: &mut Gilrs) -> Opti... type Repeat (line 434) | pub struct Repeat { method new (line 441) | pub fn new() -> Self { method default (line 450) | fn default() -> Self { type Filter (line 505) | pub trait Filter { method filter_ev (line 506) | fn filter_ev(&self, filter: &F, gilrs: &mut Gilrs) -> Opt... method filter_ev (line 526) | fn filter_ev(&self, filter: &F, gilrs: &mut Gilrs) -> Opt... method filter_ev (line 538) | fn filter_ev(&self, filter: &F, gilrs: &mut Gilrs) -> Opt... type FilterFn (line 512) | pub trait FilterFn { method filter (line 102) | fn filter(&self, ev: Option, gilrs: &mut Gilrs) -> Option { method filter (line 456) | fn filter(&self, ev: Option, gilrs: &mut Gilrs) -> Option { method filter (line 513) | fn filter(&self, ev: Option, gilrs: &mut Gilrs) -> Option; method filter (line 520) | fn filter(&self, ev: Option, gilrs: &mut Gilrs) -> Option { FILE: gilrs/src/ev/mod.rs type Code (line 34) | pub struct Code(pub(crate) gilrs_core::EvCode); method into_u32 (line 43) | pub fn into_u32(&self) -> u32 { method fmt (line 37) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { type Event (line 52) | pub struct Event { method new (line 63) | pub fn new(id: GamepadId, event: EventType) -> Self { method drop (line 72) | pub fn drop(mut self) -> Event { method is_dropped (line 79) | pub fn is_dropped(&self) -> bool { type EventType (line 88) | pub enum EventType { type Button (line 116) | pub enum Button { method is_action (line 147) | pub fn is_action(self) -> bool { method is_trigger (line 152) | pub fn is_trigger(self) -> bool { method is_menu (line 160) | pub fn is_menu(self) -> bool { method is_stick (line 165) | pub fn is_stick(self) -> bool { method is_dpad (line 170) | pub fn is_dpad(self) -> bool { method to_nec (line 175) | pub fn to_nec(self) -> Option { type Axis (line 210) | pub enum Axis { method is_stick (line 224) | pub fn is_stick(self) -> bool { method second_axis (line 240) | pub fn second_axis(self) -> Option { type AxisOrBtn (line 257) | pub enum AxisOrBtn { method is_button (line 263) | pub(crate) fn is_button(&self) -> bool { FILE: gilrs/src/ev/state.rs type GamepadState (line 18) | pub struct GamepadState { method new (line 26) | pub(crate) fn new() -> Self { method is_pressed (line 35) | pub fn is_pressed(&self, btn: Code) -> bool { method value (line 44) | pub fn value(&self, el: Code) -> f32 { method buttons (line 53) | pub fn buttons(&self) -> ButtonDataIter<'_> { method axes (line 58) | pub fn axes(&self) -> AxisDataIter<'_> { method button_data (line 63) | pub fn button_data(&self, btn: Code) -> Option<&ButtonData> { method axis_data (line 68) | pub fn axis_data(&self, axis: Code) -> Option<&AxisData> { method set_btn_pressed (line 72) | pub(crate) fn set_btn_pressed( method set_btn_repeating (line 94) | pub(crate) fn set_btn_repeating(&mut self, btn: Code, counter: u64, ti... method set_btn_value (line 104) | pub(crate) fn set_btn_value( method update_axis (line 120) | pub(crate) fn update_axis(&mut self, axis: Code, data: AxisData) { type ButtonDataIter (line 126) | pub struct ButtonDataIter<'a>(hash_map::Iter<'a, Code, ButtonData>); type AxisDataIter (line 129) | pub struct AxisDataIter<'a>(hash_map::Iter<'a, Code, AxisData>); type Item (line 132) | type Item = (Code, &'a ButtonData); method next (line 134) | fn next(&mut self) -> Option { type Item (line 140) | type Item = (Code, &'a AxisData); method next (line 142) | fn next(&mut self) -> Option { type ButtonData (line 149) | pub struct ButtonData { method new (line 158) | pub(crate) fn new( method is_pressed (line 175) | pub fn is_pressed(&self) -> bool { method value (line 180) | pub fn value(&self) -> f32 { method is_repeating (line 185) | pub fn is_repeating(&self) -> bool { method counter (line 190) | pub fn counter(&self) -> u64 { method timestamp (line 195) | pub fn timestamp(&self) -> SystemTime { type AxisData (line 202) | pub struct AxisData { method new (line 209) | pub(crate) fn new(value: f32, counter: u64, time: SystemTime) -> Self { method value (line 217) | pub fn value(&self) -> f32 { method counter (line 222) | pub fn counter(&self) -> u64 { method timestamp (line 227) | pub fn timestamp(&self) -> SystemTime { FILE: gilrs/src/ff/base_effect.rs type BaseEffectType (line 18) | pub enum BaseEffectType { method magnitude (line 24) | fn magnitude(&self) -> u16 { type Output (line 33) | type Output = BaseEffectType; method mul (line 35) | fn mul(self, rhs: f32) -> Self::Output { method default (line 45) | fn default() -> Self { type BaseEffect (line 55) | pub struct BaseEffect { method magnitude_at (line 67) | pub(super) fn magnitude_at(&self, ticks: Ticks) -> BaseEffectType { type Envelope (line 81) | pub struct Envelope { method at (line 89) | pub(super) fn at(&self, ticks: Ticks, dur: Ticks) -> f32 { type Replay (line 114) | pub struct Replay { method at (line 124) | pub(super) fn at(&self, ticks: Ticks) -> f32 { method dur (line 133) | pub fn dur(&self) -> Ticks { method wrap (line 138) | fn wrap(&self, ticks: Ticks) -> Option { method default (line 144) | fn default() -> Self { FILE: gilrs/src/ff/effect_source.rs type DistanceModel (line 28) | pub enum DistanceModel { method attenuation (line 69) | fn attenuation(self, mut distance: f32) -> f32 { method validate (line 126) | pub(crate) fn validate(self) -> Result<(), DistanceModelError> { type DistanceModelError (line 211) | pub enum DistanceModelError { method fmt (line 225) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type EffectState (line 238) | pub(super) enum EffectState { type EffectSource (line 244) | pub(crate) struct EffectSource { method new (line 257) | pub(super) fn new( method combine_base_effects (line 277) | pub(super) fn combine_base_effects(&mut self, ticks: Ticks, actor_pos:... method flush_completion_events (line 319) | pub(super) fn flush_completion_events(&mut self) -> Vec { type Magnitude (line 326) | pub(super) struct Magnitude { method zero (line 332) | pub fn zero() -> Self { type Output (line 338) | type Output = Magnitude; method mul (line 340) | fn mul(self, rhs: f32) -> Self::Output { method add_assign (line 359) | fn add_assign(&mut self, rhs: Magnitude) { type SliceVecExt (line 365) | trait SliceVecExt { method distance (line 368) | fn distance(self, from: Self) -> Self::Base; type Base (line 372) | type Base = f32; method distance (line 374) | fn distance(self, from: Self) -> f32 { FILE: gilrs/src/ff/mod.rs type Effect (line 85) | pub struct Effect { method play (line 122) | pub fn play(&self) -> Result<(), Error> { method stop (line 128) | pub fn stop(&self) -> Result<(), Error> { method set_gamepads (line 141) | pub fn set_gamepads(&self, ids: &[GamepadId], gilrs: &Gilrs) -> Result... method add_gamepad (line 170) | pub fn add_gamepad(&self, gamepad: &Gamepad<'_>) -> Result<(), Error> { method set_repeat (line 186) | pub fn set_repeat(&self, repeat: Repeat) -> Result<(), Error> { method set_distance_model (line 201) | pub fn set_distance_model(&self, model: DistanceModel) -> Result<(), E... method set_position (line 210) | pub fn set_position>(&self, position: Vec3f) -> ... method set_gain (line 221) | pub fn set_gain(&self, gain: f32) -> Result<(), Error> { method eq (line 91) | fn eq(&self, other: &Effect) -> bool { method hash (line 99) | fn hash(&self, state: &mut H) { method clone (line 105) | fn clone(&self) -> Self { method drop (line 115) | fn drop(&mut self) { type EffectBuilder (line 231) | pub struct EffectBuilder { method new (line 244) | pub fn new() -> Self { method add_effect (line 256) | pub fn add_effect(&mut self, effect: BaseEffect) -> &mut Self { method gamepads (line 263) | pub fn gamepads(&mut self, ids: &[GamepadId]) -> &mut Self { method add_gamepad (line 271) | pub fn add_gamepad(&mut self, gamepad: &Gamepad<'_>) -> &mut Self { method repeat (line 278) | pub fn repeat(&mut self, repeat: Repeat) -> &mut Self { method distance_model (line 284) | pub fn distance_model(&mut self, model: DistanceModel) -> &mut Self { method position (line 290) | pub fn position>(&mut self, position: Vec3f) -> ... method gain (line 296) | pub fn gain(&mut self, gain: f32) -> &mut Self { method finish (line 310) | pub fn finish(&mut self, gilrs: &mut Gilrs) -> Result { method default (line 343) | fn default() -> Self { type Error (line 351) | pub enum Error { method fmt (line 374) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 398) | fn from(_: SendError) -> Self { method from (line 404) | fn from(f: DistanceModelError) -> Self { method source (line 365) | fn source(&self) -> Option<&(dyn StdError + 'static)> { function envelope (line 414) | fn envelope() { function envelope_default (line 433) | fn envelope_default() { function replay (line 443) | fn replay() { FILE: gilrs/src/ff/server.rs type Message (line 23) | pub(crate) enum Message { method use_trace_level (line 83) | fn use_trace_level(&self) -> bool { type FfMessage (line 77) | pub(crate) enum FfMessage { type Device (line 94) | struct Device { method from (line 138) | fn from(inner: FfDevice) -> Self { type Effect (line 99) | struct Effect { method inc (line 106) | fn inc(&mut self) -> usize { method dec (line 111) | fn dec(&mut self) -> usize { method from (line 118) | fn from(source: EffectSource) -> Self { type Target (line 124) | type Target = EffectSource; method deref (line 126) | fn deref(&self) -> &Self::Target { method deref_mut (line 132) | fn deref_mut(&mut self) -> &mut Self::Target { function run (line 146) | pub(crate) fn run(tx: Sender, rx: Receiver) { function init (line 279) | pub(crate) fn init() -> (Sender, Receiver) { function combine_and_play (line 293) | fn combine_and_play( FILE: gilrs/src/ff/time.rs constant TICK_DURATION (line 13) | pub(crate) const TICK_DURATION: u32 = 50; type Ticks (line 34) | pub struct Ticks(pub(super) u32); method from_ms (line 37) | pub fn from_ms(dur: u32) -> Self { method inc (line 41) | pub(super) fn inc(&mut self) { method checked_sub (line 45) | pub(super) fn checked_sub(self, rhs: Ticks) -> Option { method from (line 51) | fn from(dur: Duration) -> Self { type Output (line 85) | type Output = Ticks; method mul (line 87) | fn mul(self, rhs: u32) -> Self::Output { method mul_assign (line 93) | fn mul_assign(&mut self, rhs: u32) { type Output (line 57) | type Output = Ticks; method add (line 59) | fn add(self, rhs: Ticks) -> Self::Output { method add_assign (line 65) | fn add_assign(&mut self, rhs: Ticks) { type Output (line 71) | type Output = Ticks; method sub (line 73) | fn sub(self, rhs: Ticks) -> Self::Output { method sub_assign (line 79) | fn sub_assign(&mut self, rhs: Ticks) { type Output (line 99) | type Output = Ticks; method rem (line 101) | fn rem(self, rhs: Ticks) -> Self::Output { type Repeat (line 108) | pub enum Repeat { FILE: gilrs/src/gamepad.rs constant DEFAULT_DEADZONE (line 41) | const DEFAULT_DEADZONE: f32 = 0.1; type Gilrs (line 133) | pub struct Gilrs { method new (line 151) | pub fn new() -> Result { method next_event (line 158) | pub fn next_event(&mut self) -> Option { method next_event_blocking (line 169) | pub fn next_event_blocking(&mut self, timeout: Option) -> Op... method next_event_inner (line 173) | fn next_event_inner( method next_event_priv (line 209) | fn next_event_priv( method update (line 381) | pub fn update(&mut self, event: &Event) { method inc (line 415) | pub fn inc(&mut self) { method counter (line 426) | pub fn counter(&self) -> u64 { method reset_counter (line 431) | pub fn reset_counter(&mut self) { method finish_gamepads_creation (line 435) | fn finish_gamepads_creation(&mut self) { method gamepad (line 470) | pub fn gamepad(&self, id: GamepadId) -> Gamepad { method connected_gamepad (line 478) | pub fn connected_gamepad(&self, id: GamepadId) -> Option> { method gamepads (line 504) | pub fn gamepads(&self) -> ConnectedGamepadsIterator<'_> { method insert_event (line 509) | pub fn insert_event(&mut self, ev: Event) { method ff_sender (line 513) | pub(crate) fn ff_sender(&self) -> &Sender { method set_mapping (line 551) | pub fn set_mapping<'b, O: Into>>( method set_mapping_strict (line 592) | pub fn set_mapping_strict<'b, O: Into>>( method next_ff_id (line 609) | pub(crate) fn next_ff_id(&mut self) -> usize { type GilrsBuilder (line 621) | pub struct GilrsBuilder { method new (line 633) | pub fn new() -> Self { method with_default_filters (line 648) | pub fn with_default_filters(mut self, default_filters: bool) -> Self { method add_mappings (line 655) | pub fn add_mappings(mut self, mappings: &str) -> Self { method add_env_mappings (line 663) | pub fn add_env_mappings(mut self, env_mappings: bool) -> Self { method add_included_mappings (line 671) | pub fn add_included_mappings(mut self, included_mappings: bool) -> Self { method set_axis_to_btn (line 681) | pub fn set_axis_to_btn(mut self, pressed: f32, released: f32) -> Self { method set_update_state (line 690) | pub fn set_update_state(mut self, enabled: bool) -> Self { method build (line 697) | pub fn build(mut self) -> Result { method default (line 756) | fn default() -> Self { type ConnectedGamepadsIterator (line 762) | pub struct ConnectedGamepadsIterator<'a>(&'a Gilrs, usize); type Item (line 765) | type Item = (GamepadId, Gamepad<'a>); method next (line 767) | fn next(&mut self) -> Option<(GamepadId, Gamepad<'a>)> { type Gamepad (line 789) | pub struct Gamepad<'a> { function name (line 796) | pub fn name(&self) -> &str { function map_name (line 806) | pub fn map_name(&self) -> Option<&str> { function os_name (line 811) | pub fn os_name(&self) -> &str { function uuid (line 819) | pub fn uuid(&self) -> [u8; 16] { function vendor_id (line 824) | pub fn vendor_id(&self) -> Option { function product_id (line 829) | pub fn product_id(&self) -> Option { function state (line 834) | pub fn state(&self) -> &GamepadState { function is_connected (line 839) | pub fn is_connected(&self) -> bool { function is_pressed (line 849) | pub fn is_pressed(&self, btn: Button) -> bool { function value (line 858) | pub fn value(&self, axis: Axis) -> f32 { function button_data (line 867) | pub fn button_data(&self, btn: Button) -> Option<&ButtonData> { function axis_data (line 876) | pub fn axis_data(&self, axis: Axis) -> Option<&AxisData> { function power_info (line 881) | pub fn power_info(&self) -> PowerInfo { function mapping_source (line 898) | pub fn mapping_source(&self) -> MappingSource { function is_ff_supported (line 908) | pub fn is_ff_supported(&self) -> bool { function set_listener_position (line 913) | pub fn set_listener_position>( function axis_or_btn_name (line 931) | pub fn axis_or_btn_name(&self, ec: Code) -> Option { function button_code (line 936) | pub fn button_code(&self, btn: Button) -> Option { function axis_code (line 941) | pub fn axis_code(&self, axis: Axis) -> Option { function deadzone (line 946) | pub fn deadzone(&self, axis: Code) -> Option { function id (line 961) | pub fn id(&self) -> GamepadId { function mapping (line 965) | pub(crate) fn mapping(&self) -> &Mapping { type GamepadData (line 971) | pub(crate) struct GamepadData { method new (line 981) | fn new( method map_name (line 1027) | pub fn map_name(&self) -> Option<&str> { method is_pressed (line 1041) | pub fn is_pressed(&self, btn: Button) -> bool { method value (line 1055) | pub fn value(&self, axis: Axis) -> f32 { method button_data (line 1068) | pub fn button_data(&self, btn: Button) -> Option<&ButtonData> { method axis_data (line 1078) | pub fn axis_data(&self, axis: Axis) -> Option<&AxisData> { method axis_or_btn_name (line 1084) | pub fn axis_or_btn_name(&self, ec: Code) -> Option { method button_code (line 1089) | pub fn button_code(&self, btn: Button) -> Option { method axis_code (line 1094) | pub fn axis_code(&self, axis: Axis) -> Option { type MappingSource (line 1101) | pub enum MappingSource { type GamepadId (line 1117) | pub struct GamepadId(pub(crate) usize); function from (line 1120) | fn from(x: GamepadId) -> usize { method fmt (line 1126) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function axis_value (line 1131) | fn axis_value(info: &AxisInfo, val: i32, axis: Axis) -> f32 { function btn_value (line 1157) | fn btn_value(info: &AxisInfo, val: i32) -> f32 { type Error (line 1168) | pub enum Error { method source (line 1191) | fn source(&self) -> Option<&(dyn error::Error + 'static)> { method fmt (line 1179) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { constant _ (line 1199) | const _: () = { function axis_value_documented_case (line 1211) | fn axis_value_documented_case() { function axis_value_overflow (line 1222) | fn axis_value_overflow() { function btn_value_overflow (line 1239) | fn btn_value_overflow() { FILE: gilrs/src/mapping/mod.rs constant SDL_PLATFORM_NAME (line 29) | const SDL_PLATFORM_NAME: &str = "Linux"; constant SDL_PLATFORM_NAME (line 31) | const SDL_PLATFORM_NAME: &str = "Mac OS X"; constant SDL_PLATFORM_NAME (line 33) | const SDL_PLATFORM_NAME: &str = "Windows"; constant SDL_PLATFORM_NAME (line 39) | const SDL_PLATFORM_NAME: &str = "Unknown"; type Mapping (line 46) | pub struct Mapping { method new (line 54) | pub fn new() -> Self { method default (line 63) | pub fn default(gamepad: &gilrs_core::Gamepad) -> Self { method name (line 173) | pub fn name(&self) -> &str { method from_data (line 177) | pub fn from_data( method parse_sdl_mapping (line 268) | pub fn parse_sdl_mapping( method add_button (line 374) | fn add_button( method add_axis (line 391) | fn add_axis( method is_name_valid (line 408) | fn is_name_valid(name: &str) -> bool { method map (line 412) | pub fn map(&self, code: &EvCode) -> Option { method map_rev (line 416) | pub fn map_rev(&self, el: &AxisOrBtn) -> Option { method is_default (line 420) | pub fn is_default(&self) -> bool { method hats_mapped (line 426) | pub fn hats_mapped(&self) -> u8 { type ParseSdlMappingError (line 432) | pub enum ParseSdlMappingError { method from (line 438) | fn from(f: ParserError) -> Self { method source (line 444) | fn source(&self) -> Option<&(dyn Error + 'static)> { method fmt (line 454) | fn fmt(&self, fmt: &mut Formatter<'_>) -> FmtResult { type MappingDb (line 465) | pub struct MappingDb { method new (line 470) | pub fn new() -> Self { method add_included_mappings (line 476) | pub fn add_included_mappings(&mut self) { method add_env_mappings (line 484) | pub fn add_env_mappings(&mut self) { method insert (line 490) | pub fn insert(&mut self, s: &str) { method get (line 510) | pub fn get(&self, uuid: Uuid) -> Option<&str> { method len (line 514) | pub fn len(&self) -> usize { type MappingData (line 528) | pub struct MappingData { method new (line 535) | pub fn new() -> Self { method button (line 543) | pub fn button(&self, idx: Button) -> Option { method axis (line 548) | pub fn axis(&self, idx: Axis) -> Option { method insert_btn (line 553) | pub fn insert_btn(&mut self, from: ev::Code, to: Button) -> Option Option Option { method remove_axis (line 568) | pub fn remove_axis(&mut self, idx: Axis) -> Option { type MappingError (line 576) | pub enum MappingError { method fmt (line 596) | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { constant TEST_STR (line 628) | const TEST_STR: &str = "03000000260900008888000000010001,GameCube {WiseG... constant BUTTONS (line 633) | const BUTTONS: [EvCode; 15] = [ constant AXES (line 651) | const AXES: [EvCode; 12] = [ function mapping (line 667) | fn mapping() { function from_data (line 672) | fn from_data() { function with_mappings (line 717) | fn with_mappings() { FILE: gilrs/src/mapping/parser.rs type Parser (line 82) | pub struct Parser<'a> { function new (line 89) | pub fn new(mapping: &'a str) -> Self { function next_token (line 97) | pub fn next_token(&mut self) -> Option, Error>> { function parse_uuid (line 110) | fn parse_uuid(&mut self) -> Result, Error> { function parse_name (line 135) | fn parse_name(&mut self) -> Result, Error> { function parse_key_val (line 145) | fn parse_key_val(&mut self) -> Result, Error> { function next_comma_or_end (line 278) | fn next_comma_or_end(&self) -> usize { type Token (line 287) | pub enum Token<'a> { type AxisRange (line 318) | pub enum AxisRange { type State (line 325) | enum State { type Error (line 333) | pub struct Error { method new (line 339) | pub fn new(kind: ErrorKind, position: usize) -> Self { method kind (line 343) | pub fn kind(&self) -> &ErrorKind { type ErrorKind (line 350) | pub enum ErrorKind { method fmt (line 364) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function test_all_sdl_mappings_for_parse_errors (line 386) | fn test_all_sdl_mappings_for_parse_errors() { FILE: gilrs/src/utils.rs function ceil_div (line 11) | pub fn ceil_div(a: u32, b: u32) -> u32 { function clamp (line 19) | pub fn clamp(x: f32, min: f32, max: f32) -> f32 { function t_clamp (line 44) | fn t_clamp() {