Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

buttplug.io haptics #1

Merged
merged 5 commits into from Nov 26, 2022
Merged

buttplug.io haptics #1

merged 5 commits into from Nov 26, 2022

Conversation

VyrCossont
Copy link
Owner

@VyrCossont VyrCossont commented Nov 25, 2022

Adds buttplug.io haptics support, currently by treating all vibrators as extra gamepads marked with a new haptics-device flag.

TODO:

  • Consistent device numbering
  • Confirm full support for both 1-motor and 2-motor devices
  • Web browser support using buttplug.io as WASM module + Web Bluetooth (may be separate PR)
  • Package external resources for web version instead of using the CDN
  • Add websocket connection support to command-line Pinput

@VyrCossont VyrCossont marked this pull request as ready for review November 26, 2022 18:22
@VyrCossont
Copy link
Owner Author

I declare this workable for game jam purposes.

@VyrCossont VyrCossont merged commit 87cdcbc into main Nov 26, 2022
@VyrCossont VyrCossont deleted the buttplug-haptics branch November 26, 2022 18:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant