Skip to content

Commit

Permalink
Merge pull request #27 from Genymobile/master
Browse files Browse the repository at this point in the history
Don't indefinitely persist file hashes
  • Loading branch information
GulajavaMinistudio authored Oct 27, 2019
2 parents dbf1a12 + 17d53be commit bf47980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/event_converter.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ convert_mouse_buttons(uint32_t state) {
if (state & SDL_BUTTON_MMASK) {
buttons |= AMOTION_EVENT_BUTTON_TERTIARY;
}
if (state & SDL_BUTTON_X1) {
if (state & SDL_BUTTON_X1MASK) {
buttons |= AMOTION_EVENT_BUTTON_BACK;
}
if (state & SDL_BUTTON_X2) {
if (state & SDL_BUTTON_X2MASK) {
buttons |= AMOTION_EVENT_BUTTON_FORWARD;
}
return buttons;
Expand Down

0 comments on commit bf47980

Please sign in to comment.