summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
new file mode 100644
index 0000000..df0d6f5
--- /dev/null
+++ b/src/util.c
@@ -0,0 +1,8 @@
+#include "main.h"
+
+extern void do_haptic(int count)
+{
+ haptic_device_h handle;
+ device_haptic_open(0, &handle);
+ device_haptic_vibrate(handle, count, 0, 0);
+} \ No newline at end of file