config devices on Linux use xinput
install
#Manjaro
sudo pacman -S xorg-xinput
use
list all the input devices
xinput list
output:
[jarvis@jarvis-pc ~]$ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Heng Yu Technology Poker id=9 [slave keyboard (3)]
↳ Heng Yu Technology Poker Consumer Control id=10 [slave keyboard (3)]
↳ Heng Yu Technology Poker System Control id=11 [slave keyboard (3)]
↳ Lenovo EasyCamera: Lenovo EasyC id=12 [slave keyboard (3)]
↳ Ideapad extra buttons id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]find the devices [id]
config
#list properties that can be set for the given devices xinput list-props [id]
#disable
xinput set-prop [id] 'Device Enabled' 0
#enable
xinput set-prop [id] 'Device Enabled' 1