1 unstable release
0.0.2 | Dec 13, 2023 |
---|
#2 in #gilrs
475KB
141 lines
Tauri Plugin Gamepad
A plugin for Tauri that provides a polyfill for Gamepad Web API that works on most common platforms.
It's built on top of gilrs library.
Supported platforms (from gilrs
)
Input | Hotplugging | Force feedback | |
---|---|---|---|
Linux/BSD (evdev) | ✓ | ✓ | ✓ |
Windows (XInput) | ✓ | ✓ | ✓ |
macOS | ✓ | ✓ | ✕ |
iOS | ✓ | ✓ | ✕ |
Android | ✕ | ✕ | ✕ |
Development
Run npm run watch
to transpile TypeScript API layer.
Run example demo using these commands:
cd examples/tauri-app
npm run tauri dev
Contributing
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
License
Copyright (c) 2023 Eugene Hauptmann
Dependencies
~21–67MB
~1M SLoC