Skip to content

Commit

Permalink
Even though flush was being done, it was ignored
Browse files Browse the repository at this point in the history
- Flushing everything, even the "did anything happen" flag
meant...nothing happened
- Setting the updated flag after flushing the USB buffers fixes the
RCtrl+RShift being held issue on Kira
- Fixes Issue #308
  • Loading branch information
haata committed Jan 31, 2019
1 parent a95693b commit e29ad33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Output/USB/output_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,11 @@ void USB_flushBuffers()
USBMouse_VertWheel = 0;
USBMouse_HoriWheel = 0;
USBMouse_Changed = 0;

// Make sure everything actually flushes
USBKeys_primary.changed = 1;
USBKeys_idle.changed = 1;
USBMouse_Changed = 1;
}


Expand Down

0 comments on commit e29ad33

Please sign in to comment.