diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2015-08-26 22:29:23 +0200 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2015-08-26 22:36:34 +0200 |
commit | d6821a11bb6d664283ae96030044270ad68eaed0 (patch) | |
tree | 2554f2f48d59945189b7c45e23373217c4a16d5a /minuitwrp/events.c | |
parent | Fix up some TW_OEM_BUILD things (diff) | |
download | android_bootable_recovery-d6821a11bb6d664283ae96030044270ad68eaed0.tar android_bootable_recovery-d6821a11bb6d664283ae96030044270ad68eaed0.tar.gz android_bootable_recovery-d6821a11bb6d664283ae96030044270ad68eaed0.tar.bz2 android_bootable_recovery-d6821a11bb6d664283ae96030044270ad68eaed0.tar.lz android_bootable_recovery-d6821a11bb6d664283ae96030044270ad68eaed0.tar.xz android_bootable_recovery-d6821a11bb6d664283ae96030044270ad68eaed0.tar.zst android_bootable_recovery-d6821a11bb6d664283ae96030044270ad68eaed0.zip |
Diffstat (limited to 'minuitwrp/events.c')
-rw-r--r-- | minuitwrp/events.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/minuitwrp/events.c b/minuitwrp/events.c index 5df5338b2..1d2af6b7c 100644 --- a/minuitwrp/events.c +++ b/minuitwrp/events.c @@ -545,6 +545,12 @@ static int vk_modify(struct ev *e, struct input_event *ev) break; case ABS_MT_TRACKING_ID: //39 +#ifdef TW_IGNORE_ABS_MT_TRACKING_ID +#ifdef _EVENT_LOGGING + printf("EV: %s => EV_ABS ABS_MT_TRACKING_ID %d ignored\n", e->deviceName, ev->value); +#endif + return 1; +#endif if (ev->value < 0) { e->mt_p.x = 0; e->mt_p.y = 0; @@ -581,6 +587,10 @@ static int vk_modify(struct ev *e, struct input_event *ev) printf("EV: %s => EV_ABS ABS_MT_DISTANCE %d\n", e->deviceName, ev->value); return 1; break; + case ABS_MT_SLOT: + printf("EV: %s => ABS_MT_SLOT %d\n", e->deviceName, ev->value); + return 1; + break; #endif default: |