summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-06-24 17:21:01 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-06-24 17:21:01 +0200
commit1bbf6c627add9b722285ffdfadd14ea35f96a4c3 (patch)
tree7a50744fd374c9bebafba3cff71c85b284e6ea7b
parent884ae6d95f53058b5b76c41aea192e0dc31573e7 (diff)
downloaddevice_goldelico_gta04-1bbf6c627add9b722285ffdfadd14ea35f96a4c3.zip
device_goldelico_gta04-1bbf6c627add9b722285ffdfadd14ea35f96a4c3.tar.gz
device_goldelico_gta04-1bbf6c627add9b722285ffdfadd14ea35f96a4c3.tar.bz2
Vibrator fine tuning
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-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>
/*