infusion / infusion/node-gamecontroller

Needs PS4 controller support (DualShock 4)

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.