#gamepad #joystick #input

quad-gamepad

Light-weight and opinionated gamepad handling libarary

1 unstable release

0.2.0-alpha Sep 11, 2021

#1167 in Hardware support

27 downloads per month

MIT/Apache

69KB
2K SLoC

quad-gamepad

Light-weight and opinionated gamepad handling libarary.

  • Windows: xinput
  • Linux: evdev
  • Mac: iokit
  • Web: ?
  • Android: ?
  • IOS: ?

Attribution

quad-gamepad is a fork of https://github.com/unrust/gamepad-rs both API and implementation diverged quite a lot, so right now the fork is published on crates as quad-gamepad.

linux's evdev implementation is based on https://github.com/glfw/glfw/blob/master/src/linux_joystick.c

Dependencies

~250KB