On Sat, Feb 08, 2025 at 12:35:54PM -0500, Brendan Connelly wrote: > +Polled input devices > +~~~~~~~~~~~~~~~~~~~~ > + > +Input polling is set up by passing an input device struct and a callback to > +the function:: > + > + int input_setup_polling(struct input_dev *dev, > + void (*poll_fn)(struct input_dev *dev)) > + > +Within the callback, devices should use the regular input_report_* functions > +and input_sync as is used by other devices. > + > +There is also the function:: > + > + void input_set_poll_interval(struct input_dev *dev, unsigned int interval) > + > +which is used to configure the interval, in milliseconds, that the device will > +be polled at. Looks good, thanks! Reviewed-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx> -- An old man doll... just what I always wanted! - Clara
Attachment:
signature.asc
Description: PGP signature