-
Notifications
You must be signed in to change notification settings - Fork 313
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
libinput: automatic device discovery #155
Comments
What if you simply do Anyway, I believe it'd be useful to add Probably we'd need What do you think? |
Yeah, this overlaps a little with #151. Using it directly in the config file is an interesting idea! The functions I'm using so far return all devices of a certain type. We could maybe wrap them in another set of functions to return only the first device of a type, that shouldn't be too complicated. |
This adds new convenience functions to the libinput driver for automatically detecting input devices of a certain type (such as keyboards or touchscreens). Closes: lvgl#155
Based on my last comment in #151, I think it'd be the approach now. |
This adds new convenience functions to the libinput driver for automatically detecting input devices of a certain type (such as keyboards or touchscreens). Closes: lvgl#155
This adds new convenience functions to the libinput driver for automatically detecting input devices of a certain type (such as keyboards or touchscreens). Closes: lvgl#155
This adds new convenience functions to the libinput driver for automatically detecting input devices of a certain type (such as keyboards or touchscreens). Closes: #155
I'm working on an application that is meant to be run on many different types of devices which means I can't hard-code the
/dev/input/event...
paths because I don't know them at build time. It would be great if the libinput driver could provide an interface for automatically detecting touchscreens, pointer devices and keyboards.I have some very rudimentary code here that basically just walks the
/dev/input/event...
files, makes a libinput call to determine the device capabilities and then filters the files based on that.I'd be interested to know if you would consider adding something like this to lv_drivers? I think this could be beneficial to other users as well.
The text was updated successfully, but these errors were encountered: