Skip to content

Commit

Permalink
Revert broken joystick "fix"
Browse files Browse the repository at this point in the history
  • Loading branch information
smcameron committed Nov 12, 2013
1 parent 561dfa0 commit a7a485e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snis_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,7 @@ static void deal_with_joystick()
#define XJOYSTICK_THRESHOLD_FINE 6000

/* Read events even if we don't use them just to consume them. */
memset(&jse, 0, sizeof(jse));
memset(&jse.button, 0, sizeof(jse.button));
rc = get_joystick_status(&jse);
if (rc != 0)
return;
Expand Down

0 comments on commit a7a485e

Please sign in to comment.