Menghubungkan PS4 joystick dengan raspberry pi

Ini adalah catatan untuk pengembangan project dengan Raspberry Pi board


Menghubungkan PS4 joystick dengan raspberry pi



PS4 DualShock Joystick

Raspberry Pi 4 / 4 GB

selengkapnya : PS4 DS Raspi

library Library DS4 Linux and GitHub DS4drv

issues :

1. installasi menggunakan pip

2. terdapat error: externally-managed-environment saat menjalankan sudo pip install PS4Controller

https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3

dijelaskan pada website raspi (Raspberry Pi OS - Raspberry Pi Documentation)

In older versions of Raspberry Pi OS, you could install libraries directly into the system version of Python using pip. Since Raspberry Pi OS Bookworm, users cannot install libraries directly into the system version of Python.


3. terdapat error "[error][controller 1] Failed to create input device: "/dev/uinput" cannot be opened for writing" saat menjalankan ds4drv

https://groups.google.com/g/ds4drv/c/CdPZm4EZRMM

tetapi masih error: externally-managed-environment karena dijelaskan pada no.2 di atas

Komentar