summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-08-14 18:15:32 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-08-14 18:15:32 +0200
commit3c4ac3bc3284a8f366991c57d2a52ad35f2cf3e6 (patch)
tree97a85eb0ba7e2bf77833a0beba37fd8645bef6f5
parentAllow blacklisting input devices by build flag (diff)
downloadandroid_bootable_recovery-3c4ac3bc3284a8f366991c57d2a52ad35f2cf3e6.tar
android_bootable_recovery-3c4ac3bc3284a8f366991c57d2a52ad35f2cf3e6.tar.gz
android_bootable_recovery-3c4ac3bc3284a8f366991c57d2a52ad35f2cf3e6.tar.bz2
android_bootable_recovery-3c4ac3bc3284a8f366991c57d2a52ad35f2cf3e6.tar.lz
android_bootable_recovery-3c4ac3bc3284a8f366991c57d2a52ad35f2cf3e6.tar.xz
android_bootable_recovery-3c4ac3bc3284a8f366991c57d2a52ad35f2cf3e6.tar.zst
android_bootable_recovery-3c4ac3bc3284a8f366991c57d2a52ad35f2cf3e6.zip
-rw-r--r--minuitwrp/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minuitwrp/events.c b/minuitwrp/events.c
index 5a101028b..61fcf95ea 100644
--- a/minuitwrp/events.c
+++ b/minuitwrp/events.c
@@ -175,7 +175,7 @@ static int vk_init(struct ev *e)
#else
#ifndef TW_INPUT_BLACKLIST
// Blacklist these "input" devices
- if (strcmp(e->deviceName, "bma250") == 0 || strcmp(e->deviceName, "bma150") == 0) == 0)
+ if (strcmp(e->deviceName, "bma250") == 0 || strcmp(e->deviceName, "bma150") == 0)
{
printf("blacklisting %s input device\n", e->deviceName);
e->ignored = 1;