#interface #joystick #gamepad #controller #platform-agnostic

stick

Get input from joysticks, gamepads, and other controllers

5 releases (3 breaking)

0.4.1 Aug 5, 2018
0.4.0 May 24, 2018
0.3.0 Feb 4, 2018
0.2.0 Jan 28, 2018
0.1.0 Jan 21, 2018

#59 in Hardware support

Download history 12/week @ 2018-11-12 7/week @ 2018-11-19 17/week @ 2018-11-26 23/week @ 2018-12-03 10/week @ 2018-12-10 16/week @ 2018-12-17 27/week @ 2018-12-24 1/week @ 2018-12-31 7/week @ 2019-01-07 1/week @ 2019-01-14 2/week @ 2019-01-21 3/week @ 2019-01-28 2/week @ 2019-02-04 2/week @ 2019-02-11 1/week @ 2019-02-18

79 downloads per month
Used in 8 crates (1 directly)

MIT license

33KB
804 lines

Stick

Stick is a Rust library developed by Plop Grizzly for getting joystick, gamepad, or other controller input.

Cargo / Documentation / Change Log

Features

stick's current features:

  • Get controller input
  • Remap controller input
  • Connect to multiple controllers

stick's planned features:

  • Better (faster & simpler) remapping
  • Haptic (vibration) support

Support

stick's current support:

  • Linux
  • GameCube controllers (with MAYFLASH adapter)
  • Flight simulator joystick

stick's planned support:

  • Windows
  • MacOS
  • Android
  • XBox controller
  • PlayStation controller
  • Emulated joystick
  • Nintendo switch
  • Probably some other controllers

Contributing


lib.rs:

A platform-agnostic joystick / gamepad / controller library for Rust.

No runtime deps