Skip to content

Commit

Permalink
fix leaking key on select
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmartin committed Dec 18, 2017
1 parent 016414d commit 81ea2e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ int main(int argc, char* argv[]) {
case KEY_3:
uinput_gpad_write(&uinp_gpads[0], BTN_SELECT,
xarcdev.ev[ctr].value > 0, EV_KEY);
break;
case KEY_KP4:
case KEY_LEFT:
uinput_gpad_write(&uinp_gpads[0], ABS_X,
Expand Down

0 comments on commit 81ea2e1

Please sign in to comment.