infusion / infusion/node-gamecontroller
Needs PS4 controller support (DualShock 4)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 56
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
I will be adding this from my fork soon. This will work for USB-connected DS4 controllers, with limited support for Bluetooth-connected DS4 controllers, as the input is reported differently over Bluetooth.
This will only support button presses and joysticks for now - I plan to update gamecontroller.js to allows for L2/R2 pressure reporting, battery level reporting and accelerometer/gyroscope reporting soon.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in gamecontroller.js and review how existing controllers map input events. Implement the stated USB support and limited Bluetooth support for DualShock 4 button presses and joysticks; pressure, battery, and motion reporting are explicitly out of scope for now.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100