nsfm / dualsense-ts Goto Github PK
View Code? Open in Web Editor NEWThe natural way to use your DualSense controller with Typescript
Home Page: https://nsfm.github.io/dualsense-ts/
License: GNU General Public License v3.0
The natural way to use your DualSense controller with Typescript
Home Page: https://nsfm.github.io/dualsense-ts/
License: GNU General Public License v3.0
Describe the bug
No feedback from bumpers or triggers
To Reproduce
Attempt to listen for inputs from the bumpers or triggers
Expected behavior
My callbacks should run when the bumpers/triggers are used
Is your feature request related to a problem? Please describe.
The controller has a feature that doesn't work with this library
Describe the solution you'd like
Support for all available features
Describe the bug
No callbacks for L1 and R1
To Reproduce
Just use them
Expected behavior
Callbacks
Additional context
L1 and R1 are available in the hid report but are not mapped.
Describe the bug
node_hid_provider is checking for window type undefined, typeof window === 'undefined' though
To Reproduce
Please provide exact package version and steps to reproduce the behavior:
Expected behavior
Update check to correctly use 'undefined'
Describe the bug
After granting permission to connect a DualSense gamepad using controller.hid.provider.getRequest()
the following error shows up:
To Reproduce
Package version: 5.1.8
steps:
controller.hid.provider.getRequest()
.Expected behavior
Successful connection with no errors.
Additional context
ReactContext
like in the documentation and zustand (4.4.4) to check if it's a problem in my end.Describe the bug
Values for analog axis are mapped from -128 to 128, rather than -1 to 1.
To Reproduce
Check the state of the input while using the analog stick.
Expected behavior
X and Y axis should be limited from -1 to 1 as documented.
Is your feature request related to a problem? Please describe.
Would like to be able to use multiple controllers.
Describe the solution you'd like
A utility to list available controllers, and a way to specify which controller to link to which Dualsense
instance.
Describe the bug
Pressing any of the primary buttons breaks dpad inputs.
To Reproduce
Hold down on the dpad and press X. The dpad state will change to 'false' until you release X.
Expected behavior
No conflicts.
** Is your feature request related to a problem? Please describe. **
The controller has a feature that doesn't work with this library
** Describe the solution you'd like **
Support for all available features
Describe the bug
Bluetooth almost works but inputs are incorrect
To Reproduce
yarn debug
Expected behavior
Identical to USB
Additional context
Bluetooth input buffer has 14 extra bytes
Describe the bug
Using "removeAllListeners()" to clear an event handler as suggested by the readme breaks inputs that relay changes from other inputs.
To Reproduce
Attempt to reuse inputs after following the steps suggested by the readme.
Expected behavior
My event handler is cleared without breaking my inputs.
Is your feature request related to a problem? Please describe.
The controller has a feature that doesn't work with this library
Describe the solution you'd like
Support for all available features
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.