multiinput

Crates.iomultiinput
lib.rsmultiinput
version0.1.0
sourcesrc
created_at2017-02-15 23:19:04.391374
updated_at2020-05-11 13:53:20.646743
descriptionA pure rust gamepad/mouse/keyboard input library based off of rawinput for the windows platform
homepagehttps://github.com/Jonesey13/multiinput-rust
repositoryhttps://github.com/Jonesey13/multiinput-rust
max_upload_size
id8534
size64,952
Alex Jones (Jonesey13)

documentation

http://jonesey13.github.io/multiinput-rust/doc/multiinput/index.html

README

multiinput-rust

Documentation

A windows rawinput library for mice/keyboards/joysticks for use with rust.

The original purpose of this library was to help me learn how the art of binding dll's to rust and to allow the use of joysticks in game development (e.g. alongside the glium library). Eventually this was used to develop games that had a separate mice for each player.

Key Features

  • Can differentiate between different keyboards/mice.
  • It is intended to be single-purpose and lightweight and can be integrated with other libraries without interference (this is done by having a hidden background input window running).
  • In principle this approach could support all HID devices, provide input to devices (e.g. force feedback) and should be able to break the 4 device limit on Xinput controllers.

Known Limitations

  • Some track pads are not picked up
  • The application can crash if the wrong drivers are installed for a device (e.g. a joystick)
  • XInput support is limited (see the docs for details)
Commit count: 33

cargo fmt