summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml12
-rw-r--r--vibrator/vibrator.c2
2 files changed, 13 insertions, 1 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 56c9a6c..781d25d 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -26,6 +26,18 @@
<integer name="config_screenBrightnessSettingMinimum">10</integer>
<integer name="config_screenBrightnessDim">15</integer>
+ <integer-array name="config_longPressVibePattern">
+ <item>40</item>
+ </integer-array>
+
+ <integer-array name="config_virtualKeyVibePattern">
+ <item>40</item>
+ </integer-array>
+
+ <integer-array name="config_keyboardTapVibePattern">
+ <item>35</item>
+ </integer-array>
+
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,1,-1,true"</item>
</string-array>
diff --git a/vibrator/vibrator.c b/vibrator/vibrator.c
index 3d6b7d9..0e7d967 100644
--- a/vibrator/vibrator.c
+++ b/vibrator/vibrator.c
@@ -25,7 +25,7 @@
#include <sys/types.h>
#include <linux/input.h>
-#define LOG_TAG "vibrator"
+#define LOG_TAG "gta04_vibrator"
#include <cutils/log.h>
/*