-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MINOR] Fix HID mapping for all report styles; Fix dpad conflicts (#408…
…) (#406) - Improve detection of connection type to resolve compatibility issues - Enable gyroscope and accelerometer values for all controllers - Fix mapping of gyroscope and accelerometer values - Fix dpad conflicts with primary buttons - Reset all inputs when the controller is disconnected Many thanks to @daniloarcidiacono for making this change possible! co-authored-by: Danilo Arcidiacono <[email protected]> co-authored-by: Nate Dube <[email protected]>
- Loading branch information
1 parent
862cf4c
commit a468f8b
Showing
11 changed files
with
445 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,8 @@ | |
"author": "Nate Dube <[email protected]> (https://ndube.com)", | ||
"contributors": [ | ||
"CamTosh", | ||
"nsfm" | ||
"nsfm", | ||
"daniloarcidiacono" | ||
], | ||
"license": "GPL-3.0", | ||
"private": false, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* Byte buffer abstraction over Buffer (NodeJS) and DataView (web). | ||
*/ | ||
export interface ByteArray { | ||
length: number; | ||
readUint8(offset: number): number; | ||
readUint16LE(offset: number): number; | ||
} |
Oops, something went wrong.