Étape 1 — Installer les dépendances

bash

sudo pacman -S python python-evdev sudo modprobe uinput

Vérifier que uinput est chargé :

bash

lsmod | grep uinput

Étape 2 — Cloner et installer

bash

git clone <https://github.com/Gicotto/cacique-envision-pro-linux.git> cd cacique-envision-pro-linux

Parfait, j'ai tout ce qu'il faut. Avant de configurer les chemins, on a besoin de trouver les bons devices. Fais ces deux commandes :

bash

cat /proc/bus/input/devices | grep -A8 -i scuf

bash

ls /dev/hidraw*

grep -r "SCUF\|2E95" /sys/class/hidraw/*/device/uevent 2>/dev/null

résultat:

/sys/class/hidraw/hidraw5/device/uevent:HID_ID=0003:00002E95:0000434D /sys/class/hidraw/hidraw5/device/uevent:HID_NAME=Scuf Gaming SCUF Envision Pro Controller /sys/class/hidraw/hidraw5/device/uevent:MODALIAS=hid:b0003g0001v00002E95p0000434D /sys/class/hidraw/hidraw6/device/uevent:HID_ID=0003:00002E95:0000434D /sys/class/hidraw/hidraw6/device/uevent:HID_NAME=Scuf Gaming SCUF Envision Pro Controller /sys/class/hidraw/hidraw6/device/uevent:MODALIAS=hid:b0003g0001v00002E95p0000434D

Le SCUF est sur hidraw5 et hidraw6. Le script a besoin du bon — en général c'est le premier. On va tout installer maintenant.