RFC: add a simple implementation of the ploopy optical encoder (#17912)
This commit is contained in:
@@ -112,7 +112,7 @@ void process_wheel(void) {
|
||||
int dir = opt_encoder_handler(p1, p2);
|
||||
|
||||
if (dir == 0) return;
|
||||
encoder_update_kb(0, dir == 1);
|
||||
encoder_update_kb(0, dir > 0);
|
||||
}
|
||||
|
||||
report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) {
|
||||
|
Reference in New Issue
Block a user