Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugins: input-raw: Parse BTN_LEFT in MT mode #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions plugins/input-raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ static int ts_input_read_mt(struct tslib_module_info *inf,
case EV_KEY:
switch (i->ev[it].code) {
case BTN_TOUCH:
case BTN_LEFT:
i->buf[total][i->slot].pen_down = i->ev[it].value;
i->buf[total][i->slot].tv.tv_sec = i->ev[it].input_event_sec;
i->buf[total][i->slot].tv.tv_usec = i->ev[it].input_event_usec;
Expand Down