linux:xinput
This is an old revision of the document!
Xinput tests
This is debug tests to possible enable the buttons on the Logitech H820e headset.
xinput disable "Logitech Inc Logitech H820e" xinput get-button-map "Logitech Inc Logitech H820e" 14 15 0 0 0 0 0 0
xinput reattach "Logitech Inc Logitech H820e" "headset pointer"
xinput --create "master headset" sendCore=0
#!/bin/bash xinput list | grep "main keyboard" -c > /dev/null if [ $? -ne 0 ]; then echo "Splitting laptop leyboard and touchpad..." echo "Creating xinput main" xinput create-master "main" echo "Reattaching laptop touchpad and keyboard to main" xinput reattach "SynPS/2 Synaptics TouchPad" "main pointer" xinput reattach "AT Translated Set 2 keyboard" "main keyboard" else echo "Merging laptop keyboard and touchpad..." echo "Reattaching laptop touchpad and keyboard to core" xinput reattach "SynPS/2 Synaptics TouchPad" "Virtual core pointer" xinput reattach "AT Translated Set 2 keyboard" "Virtual core keyboard" echo "Removing xinput main" xinput remove-master "main keyboard" fi
linux/xinput.1463674550.txt.gz · Last modified: 2023/05/29 11:53 (external edit)