testing mouse mode and swtich
This commit is contained in:
parent
4bdff1a50d
commit
587fe7ffcf
3 changed files with 52 additions and 17 deletions
|
|
@ -332,6 +332,10 @@ void *dev_out_thread_func(void *ptr) {
|
|||
mouse_last_hid_report_sent = now;
|
||||
|
||||
virt_mouse_send(&mouse_data, &dev_out_data->dev_stats.mouse, &now);
|
||||
|
||||
// reset mouse movements now
|
||||
dev_out_data->dev_stats.mouse.x = 0;
|
||||
dev_out_data->dev_stats.mouse.y = 0;
|
||||
|
||||
// this does reset the for, ensuring every other device has nothing to say
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue