ffjoystick: 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/ffjoystick - from package: fawkes-plugin-joystick

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