zockbox-gpiopad/README.md

15 lines
318 B
Markdown
Raw Normal View History

2020-06-27 00:12:48 +02:00
Requires python3, python-uinput and RPi.GPIO
Make sure that user pi can open the uinput device.
Enable access to it:
2020-06-27 03:58:21 +02:00
2020-06-27 00:12:48 +02:00
sudo groupadd -f uinput
2020-06-27 03:58:21 +02:00
2020-06-27 00:12:48 +02:00
sudo gpasswd -a pi uinput
2020-06-27 03:58:21 +02:00
Open /etc/udev/rules.d/99-input.rules and add this:
2020-06-27 00:12:48 +02:00
SUBSYSTEM=="input", GROUP="input", MODE="0660"
2020-06-27 03:58:21 +02:00
2020-06-27 00:12:48 +02:00
KERNEL=="uinput", GROUP="uinput", MODE="0660"