classmate-laptop: always call input_sync() after input_report_switch()
Due to commit cdda911c evdev only becomes readable when the buffer contains an EV_SYN/SYN_REPORT event. So in order to read the tablet sensor data as it happens we need to ensure that we always call input_sync() after input_report_switch() Signed-off-by: NCarlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Showing
想要评论请 注册 或 登录