Skip to content
This repository was archived by the owner on Aug 11, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jni/suinput.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ int suinput_open(const char* device_name, const struct input_id* id)

/* Configure device to handle all keys, see linux/input.h. */
for (i = 0; i < KEY_MAX; i++) {
if (i == BTN_TOUCH) {
continue;
}
if (ioctl(uinput_fd, UI_SET_KEYBIT, i) == -1) {
goto err;
}
Expand Down