Skip to content

Can I set an input callback at run time? (INPUT_CALLBACK_DEFINE(touch_dev, touch_event_callback, NULL) #89415

Answered by fabiobaltieri
KurtE asked this question in Q&A
Discussion options

You must be logged in to vote

Can't be done at the moment, but it'd be very easy to a static callback that goes through a dynamic list. Or just implement the whole thing in the subsystem and make it Kconfig optional, don't see a reason not to accept such a contribution.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by KurtE
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: Input Input Subsystem and Drivers
3 participants