xinput: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/xinput - from package: xorg-x11-server-utils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/xinput - from package: xinput

You may install the required package with command apt-get install {package}
Error in other languages:
xinput: bevel nie gevind nie
xinput: comandă negăsită
xinput: comando não encontrado
xinput: commande introuvable
xinput: command not found
xinput: käsku ei ole
xinput: không tìm thấy lệnh
xinput: komanda nerasta
xinput: Kommando nicht gefunden.
xinput: kommandot finns inte
xinput: komut yok
xinput: nie znaleziono polecenia
xinput: níor aimsíodh an t-ordú
xinput: no se encontró la orden
xinput: no s'ha trobat l'ordre
xinput: opdracht niet gevonden
xinput: parancs nem található
xinput: perintah tidak ditemukan
xinput: príkaz nenájdený
xinput: příkaz nenalezen
xinput: команда не найдена
xinput: командата не е открита
xinput: 命令找不到
xinput: コマンドが見つかりません