Skip to content

Commit 38585df

Browse files
committed
uclogic: Describe uclogic_inrange_timeout function
1 parent 842427d commit 38585df

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

hid-uclogic-core.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ struct uclogic_drvdata {
3838
u8 re_state;
3939
};
4040

41+
/**
42+
* uclogic_inrange_timeout - handle pen in-range state timeout.
43+
* Emulate input events normally generated when pen goes out of range for
44+
* tablets which don't report that.
45+
*
46+
* @t: The timer the timeout handler is attached to, stored in a struct
47+
* uclogic_drvdata.
48+
*/
4149
static void uclogic_inrange_timeout(struct timer_list *t)
4250
{
4351
struct uclogic_drvdata *drvdata = from_timer(drvdata, t,

0 commit comments

Comments
 (0)