Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get sysfs of device #110

Open
ImUrX opened this issue Jan 8, 2023 · 1 comment
Open

how to get sysfs of device #110

ImUrX opened this issue Jan 8, 2023 · 1 comment

Comments

@ImUrX
Copy link

ImUrX commented Jan 8, 2023

I wanted to know if it might be possible to get this info somehow

@whot
Copy link
Contributor

whot commented Aug 28, 2023

Easiest approach (since you have the device path anyway) is probably to take the basename (event0) and build a path to /sys/class/input/event0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants