glutanimate / anjoy-public

Temporary repository to host bug reports and documentation for the AnJoy Anki add-on
https://www.patreon.com/glutanimate/posts?tag=AnJoy
4 stars 0 forks source link

Improve support for 8bitdo SNES controllers #4

Open glutanimate opened 5 years ago

glutanimate commented 5 years ago

This issue report tracks the progress in adding full compatibility for 8bitdo SNES controllers.

Current issues:

Debug information

Sample layout of an 8bitdo SNES bluetooth controller (thanks to Omar for his help in elucidating this info!):

unknown

danielhigham commented 5 years ago

Here's the debug info for an 8bitdo SN30 bluetooth controller (not the 'pro' version which has two analog sticks):

===ANKI=== Anki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3 Platform: Mac 10.14.6 Flags: frz=True ao=True sv=2 Add-ons: Image Occlusion Enhanced for Anki 21 alpha Mini Format Pack Frozen Fields True Retention Edit LaTeX build process AnJoy bettertags Cloze Overlapper ===ANJOY=== ```json version: 0.1.0-beta.1 [ { "id": "Wireless Controller (STANDARD GAMEPAD Vendor: 054c Product: 05c4)", "index": 0, "connected": true, "timestamp": 59695923.800000004, "mapping": "standard", "axes": [ -0.003921568393707275, -0.003921568393707275, -0.003921568393707275, -0.003921568393707275 ], "buttons": [ { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 } ], "vibrationActuator": { "type": "dual-rumble", "playEffect": "function playEffect() { [native code] }", "reset": "function reset() { [native code] }" } }, null, null, null, 4, "function item() { [native code] }" ] Index: 0 ```
glutanimate commented 5 years ago

Thanks, Daniel! This should be very helpful.

It seems like GitHub isn't collapsing longer comments automatically, so I took the liberty to use some formatting tricks on the log. Hope you don't mind!