Vibration: allow BoardConfig to disable vibration for a device.

Change-Id: Ibd2f67391ce6d7774498839829e0de9391508781
diff --git a/minuitwrp/events.cpp b/minuitwrp/events.cpp
old mode 100644
new mode 100755
index bd29f71..9374ef1
--- a/minuitwrp/events.cpp
+++ b/minuitwrp/events.cpp
@@ -123,6 +123,7 @@
 	return -1;
 }
 
+#ifndef TW_NO_HAPTICS
 int vibrate(int timeout_ms)
 {
     if (timeout_ms > 10000) timeout_ms = 1000;
@@ -135,6 +136,7 @@
 
     return 0;
 }
+#endif
 
 /* Returns empty tokens */
 static char *vk_strtok_r(char *str, const char *delim, char **save_str)
@@ -722,7 +724,9 @@
 
                 last_virt_key = e->vks[i].scancode;
 
+#ifndef TW_NO_HAPTICS
                 vibrate(VIBRATOR_TIME_MS);
+#endif
 
                 // Mark that all further movement until lift is discard,
                 // and make sure we don't come back into this area