Skip to content
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

Taito Egret II Trackball / Spinner (suggestion for examples) #47

Open
Kugelblitz360 opened this issue Mar 10, 2023 · 0 comments
Open

Taito Egret II Trackball / Spinner (suggestion for examples) #47

Kugelblitz360 opened this issue Mar 10, 2023 · 0 comments

Comments

@Kugelblitz360
Copy link

Taito produces a neat Trackball / Spinner controller for their miniature Arcade System that unfortunately has mapped inputs in a weird way. The following JSON, tested on a single board PICO setup:

  • Scales the trackball x5 to make it better usable in Windows
  • Maps the spinner from V-Scroll to X-Input for instant compatibility with many games / emulations
  • Maps the buttons that are invisible to Windows: White Mouse 3, Violet Mouse 4 / Forward, Blue Mouse 5 / Backward
    This enables configuration of the device in all emulation setups (Windows and Linux) I tested

A BIG THANK YOU FOR BUILDING THIS AMAZING PIECE OF CODE. THIS IS JUST AWESOME!

Feel free to include this in the Examples section!

{ "version": 6, "partial_scroll_timeout": 1000000, "interval_override": 0, "mappings": [ { "target_usage": "0x00090004", "source_usage": "0x00090017", "scaling": 1000, "layers": [ 0 ], "sticky": false, "tap": false, "hold": false }, { "target_usage": "0x00090005", "source_usage": "0x00090018", "scaling": 1000, "layers": [ 0 ], "sticky": false, "tap": false, "hold": false }, { "target_usage": "0x00090003", "source_usage": "0x0009001a", "scaling": 1000, "layers": [ 0 ], "sticky": false, "tap": false, "hold": false }, { "target_usage": "0x00090001", "source_usage": "0x0009001d", "scaling": 1000, "layers": [ 0 ], "sticky": false, "tap": false, "hold": false }, { "target_usage": "0x00090002", "source_usage": "0x0009001e", "scaling": 1000, "layers": [ 0 ], "sticky": false, "tap": false, "hold": false }, { "target_usage": "0x00010030", "source_usage": "0x00010038", "scaling": -1000, "layers": [ 0 ], "sticky": false, "tap": false, "hold": false }, { "source_usage": "0x00010030", "target_usage": "0x00010030", "layers": [ 0 ], "sticky": false, "tap": false, "hold": false, "scaling": 5000 }, { "source_usage": "0x00010031", "target_usage": "0x00010031", "layers": [ 0 ], "sticky": false, "tap": false, "hold": false, "scaling": 5000 } ], "unmapped_passthrough_layers": [ 0, 1, 2, 3 ], "macros": [ [], [], [], [], [], [], [], [] ], "tap_hold_threshold": 200000, "expressions": [ "", "", "", "", "", "", "", "" ] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant