Bliss Touch Mapper (Input Mapper)
Touch Mapper binds USB touchscreens, mice, touchpads, and keyboards to specific displays. It can also flip inverted X/Y axes on mismatched digitizers. Included with --extras.
Map by vendor / product ID (slots 1 to 8)
Properties live under persist.ax86.* and survive reboot.
Touchscreens
adb shell setprop persist.ax86.touch.1.vendor "27c6"
adb shell setprop persist.ax86.touch.1.product "0118"
adb shell setprop persist.ax86.touch.1.display "local:1"
adb shell setprop persist.ax86.touch.1.orientation "0"
adb shell setprop persist.ax86.touch.1.flip_x "0"
adb shell setprop persist.ax86.touch.1.flip_y "1"
Other input types
Apply
Regenerate .idc files and refresh the input reader:
adb shell setprop sys.ax86.touch.update 1
Use pointer, keyboard, or input in place of touch when that is the namespace you changed.
Map by USB port (input-port-addon.xml)
When two devices share the same vendor/product ID (identical dual monitors, for example), map by USB topology instead.
Touch Mapper bind-mounts /data/misc/input-port-addon.xml over /vendor/etc/input-port-associations.xml at boot. The Settings UI can generate and save that file.
Step-by-step port discovery: Creating an input-port-addon.xml file.
Related IDC addon notes: Using IDC Addon.
Related
- Display Mapper
- Button Manager for hardware function keys (P1/P2/P3)
- Building Bass OS