Skip to content

Commit

Permalink
fixrepeat
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1v committed Aug 7, 2020
1 parent 521f2fe commit 8fb0192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/input_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ send_keycode(struct controller *controller, enum android_keycode keycode,
msg.type = CONTROL_MSG_TYPE_INJECT_KEYCODE;
msg.inject_keycode.keycode = keycode;
msg.inject_keycode.metastate = 0;
msg.inject_keycode.repeat = 0;

if (actions & ACTION_DOWN) {
msg.inject_keycode.action = AKEY_EVENT_ACTION_DOWN;
Expand Down

0 comments on commit 8fb0192

Please sign in to comment.