commit | 71e9b049c21fb01d558f49844d17e792c347a930 | [log] [tgz] |
---|---|---|
author | Samer Diab (S.a.M.e.R_d) <remasdiab@gmail.com> | Tue Jan 07 20:18:47 2014 +0000 |
committer | Gerrit Code Review <gerrit2@gerrit> | Thu Feb 06 20:27:28 2014 +0100 |
tree | a150e27f45af15339211d6f8333c6a03dba0b412 | |
parent | 4011c71f9813a9b3c13dab6ca01b69dddd6ec77b [diff] [blame] |
Add haptic feedback Change-Id: I15d723f73c0b0bb4a40645d1c3f4c1c616f36998
diff --git a/minuitwrp/events.c b/minuitwrp/events.c index 73369a2..aecaf8f 100644 --- a/minuitwrp/events.c +++ b/minuitwrp/events.c
@@ -106,6 +106,8 @@ int fd; int ret; + if (timeout_ms > 10000) timeout_ms = 1000; + fd = open(VIBRATOR_TIMEOUT_FILE, O_WRONLY); if (fd < 0) return -1;