-
Notifications
You must be signed in to change notification settings - Fork 0
Add Hori Pokken Tournament DX Pro Pad gamepad #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
088b00e
to
8b2d1a7
Compare
…id" (#669) * Add Linux mapping for "8BitDo SN30 Pro for Xbox Cloud Gaming on Android" The two GUIDs are for bluetooth and wired connections. Tested with the moonlight game streaming software. * Remove CRC, Xbox One SN30 Pro name fields --------- Co-authored-by: Alynne <alviscera@gmail.com>
* Update mappings of gamepads affected by recent SDL change. This adjusts for changes in libsdl-org/SDL@6f1f586 I have made a change to SDL to treat default Android mappings closer to reality and documentation on Android, by treating gamepads in which all of X, Y, Z, RX, RY, RZ axes exist to to return the axes in the order X, Y, RX, RY, Z, RZ. See e.g. https://developer.android.com/develop/ui/views/touch-and-input/game-controllers/controller-input which documents Z and RZ to be for the right stick (and thus belonging together); also, a whole lot of Xbox-ish gamepads export the right stick as RX, RY opposing Google's documentation (but matching Linux's at https://www.kernel.org/doc/html/latest/input/gamepad.html) and the triggers as Z, RZ, which SDL's automatic mapping now handles. This requires the changes to the mappings included in this commit. Note that it is quite possible that some of these gamepad entries could even be removed now. Note that this change will make the txt file potentially incompatible with previous SDL versions. Sadly Android entries have no version entry in the SDLID, but instead have an axis mask in the same spot. However, given there are only 44 Android "05" mappings in here anyway, and given USB gamepads on Android are now usually handled via HIDAPI which generates "03" mappings, this may be acceptable; only three controllers here are wireless and thus likely affected with SDL games: PS5 Controller, Xbox One Controller, Xbox One Elite 2 Controller. As SDL itself already comes with mappings for these built-in before and after, maybe these three should be removed here so things are compatible across versions? Or even remove or comment out ALL impacted mappings that are already in a recent SDL version? In fact, that branch contains all impacted SDLIDs except one already: 050000005e040000e0020000ffff3f00 - so removing all other mappings here should be safe. Or maybe commenting out for documentation (Ebitengine would still like to have them, though). * Instead, duplicate existing mappings, apply the change in the copy and append set 0x80 in the SDLID's last byte.
via [Daniel K Murphy](http://www.computercoder.org/)
via Daniel K Murphy (http://www.computercoder.org/)
thanks Daniel K Murphy (http://www.computercoder.org/)
Another Mega World Logic 3 controller . Just a different guid and swapped rightx righty
thanks Daniel K Murphy (http://www.computercoder.org/)
import difflib | ||
import sys | ||
|
||
CROSS_PLATFORM=False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E225: missing whitespace around operator
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
Command | Usage |
---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Help us improve LIFT! (Sonatype LiftBot external survey)
Was this a good recommendation for you? Answering this survey will not impact your Lift settings.
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
|
||
cdict = {} | ||
for i, l in enumerate(open("gamecontrollerdb.txt")): | ||
l = l.strip() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E741: ambiguous variable name 'l'
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
Command | Usage |
---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Help us improve LIFT! (Sonatype LiftBot external survey)
Was this a good recommendation for you? Answering this survey will not impact your Lift settings.
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
l = l.strip() | ||
if l.startswith("#") or not l: | ||
continue | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W293: blank line contains whitespace
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
Command | Usage |
---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Help us improve LIFT! (Sonatype LiftBot external survey)
Was this a good recommendation for you? Answering this survey will not impact your Lift settings.
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
print("\t", " ".join(out)) | ||
if not CROSS_PLATFORM: | ||
sys.exit(1) | ||
cdict[key] = sorted(c) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W292: no newline at end of file
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
Command | Usage |
---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Help us improve LIFT! (Sonatype LiftBot external survey)
Was this a good recommendation for you? Answering this survey will not impact your Lift settings.
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
GUID 050000007e0500001920000001800000, model R-C-NIN-HAC-043. This particular controller used to make the mapping was for the Japanese market.
thanks RGarciaLago
* add Nacon MG-X Pro Linux mappings * Name cleanup --------- Co-authored-by: Alynne <alviscera@gmail.com>
* Add linux Xbox Series S|X mapping to gamecontrollerdb.txt * Name cleanup --------- Co-authored-by: Alynne <alviscera@gmail.com>
* Update gamecontrollerdb.txt with EMS TrioLinker Plus II (Windows) * Remove CRC --------- Co-authored-by: Alynne <alviscera@gmail.com>
Last version of Raphnet adapter. Same mapping but different GUID.
Add Nokia GC 5000
from hid-nx-dkms to upstream hid-nintendo
* Update gamecontrollerdb.txt Add Graslu00 and my Raphnet Dual N64 to USB adapters * Rename --------- Co-authored-by: Alynne <alviscera@gmail.com>
For other people:
This pull request is used as a trigger to detect whether gabomdq:master updates.
So we will never close/merge this pr.
thanks.