#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

#43 in Hardware support

Download history 1/week @ 2018-05-13 27/week @ 2018-05-27 20/week @ 2018-06-03 4/week @ 2018-06-10 22/week @ 2018-06-17 11/week @ 2018-06-24 76/week @ 2018-07-01 9/week @ 2018-07-08 4/week @ 2018-07-15 12/week @ 2018-07-22 9/week @ 2018-07-29 44/week @ 2018-08-05

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