Taito Egret II Trackball / Spinner (suggestion for examples)
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": [ "", "", "", "", "", "", "", "" ] }