Open peterhellberg opened 5 years ago
Hi, can you give a try to : https://github.com/MaitreDede/golang-evdev/tree/err-checks ?
go get -v github.com/MaitreDede/golang-evdev@err-checks
@MaitreDede Yes, your fork/branch seems to work as it should.
Got my RPi accessible via: https://6ea712a77b3b247831fcc102c606a54a.balena-devices.com/
@gvalkov Should I close this issue, or do you want to incorporate the changes made in https://github.com/MaitreDede/golang-evdev/tree/err-checks?
Hi, I made a pull request : #17
After b6f418b1fe5af0386c81f387227f36d4801883b0 there was some change that broke the usage of
golang-evdev
on my Raspberry Pi 3B+ running balenaOS. (With resin/scratch containers built with balenalib/raspberrypi3-alpine-golang)In the latest version of this package the input device list is empty (
[]*evdev.InputDevice{}
) and/dev/input/event0
doesn’t exist.For now my workaround is to lock the version of this package to b6f418b1fe5af0386c81f387227f36d4801883b0 but just wanted to give you a heads up.
(I’m using this package in combination with https://github.com/nathany/bobblehat on a RPi connected to a SenseHAT)