It sends normal key up and key down keystrokes like any keyboard, but in a “strange” range (scanCodes ~300-700)
I noticed there’s already automatic keyboard mapping in the demo. Maybe it could be extended so also smooth, mask and Radius (scrollwheel +/-) and scanCodes outside of the standard ASCII range could be mapped.
That should already be enough to support this device and similar devices (don’t know of any others ). If it makes sense I can make a list of the exact scan codes/button mapping.
I tested 1.66/1.67 with the Tabmate on Android and it works very nicely, thanks for implementing the new action mappings btw!
I think there’s still a bug with unrecognized scancodes bindings (repro steps):
Starting with the default key mapping (Reset), create bindings for some keys that have unrecognized scancodes, exit Nomad
Start Nomad again, enter the bindings editor before pressing any of those keys
Press one of those keys
Now instead of only the mapped one, ALL “Scan XXX” entries will be highlighted, the menu closes and Nomad freezes for a while
When trying to map one of those keys, “A” appears instead of “Scan XXX”
It’s easy to work around this: Just press one of the mapped keys before entering the bindings editor, all will be fine for the rest of the session then.
One thing lastly, any chance to get a radius +/- 5 steps mappings exposed? That would make it possible to use the wheel and make the Tabmate integration perfect.