Docs.rs
  • gilrs-core-0.5.13
    • gilrs-core 0.5.13
    • Docs.rs crate page
    • Apache-2.0/MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • Arvamer
    • Dependencies
      • log ^0.4.1 normal
      • serde ^1.0 normal optional
      • uuid ^1.0.0 normal
      • env_logger ^0.10.0 dev
      • inotify ^0.10.2 normal
      • libc ^0.2 normal
      • libudev-sys ^0.1.4 normal
      • nix ^0.29.0 normal
      • vec_map ^0.8 normal
      • js-sys ^0.3 normal
      • wasm-bindgen ^0.2 normal
      • web-sys ^0.3 normal
      • core-foundation ^0.9.4 normal
      • io-kit-sys ^0.4.1 normal
      • vec_map ^0.8 normal
      • rusty-xinput ^1.2.0 normal optional
      • winapi ^0.3.4 normal optional
      • windows >=0.44, <=0.58 normal optional
    • Versions
    • 46.34% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

gilrs_core0.5.13

Module native_ev_codes

  • Constants

In crate gilrs_core

Module gilrs_core::native_ev_codes

source ·
Expand description

Provides the most common mappings of physical location of gamepad elements to their EvCodes. Some (or most) gamepads may use different mappings.

Constants§

  • AXIS_DPADX
  • AXIS_DPADY
  • AXIS_LEFTZ
  • AXIS_LSTICKX
  • AXIS_LSTICKY
  • AXIS_LT
  • AXIS_LT2
  • AXIS_RIGHTZ
  • AXIS_RSTICKX
  • AXIS_RSTICKY
  • AXIS_RT
  • AXIS_RT2
  • BTN_C
  • BTN_DPAD_DOWN
  • BTN_DPAD_LEFT
  • BTN_DPAD_RIGHT
  • BTN_DPAD_UP
  • BTN_EAST
  • BTN_LT
  • BTN_LT2
  • BTN_LTHUMB
  • BTN_MODE
  • BTN_NORTH
  • BTN_RT
  • BTN_RT2
  • BTN_RTHUMB
  • BTN_SELECT
  • BTN_SOUTH
  • BTN_START
  • BTN_WEST
  • BTN_Z