CMParts: Add touchscreen gesture settings and keyhandler
With the new TouchscreenGesture CMHW API, devices can advertise
support for different sorts of touchscreen gestures.
Add settings in CMParts to allow users to configure each and
every one of the gesture to their liking.
Change-Id: I7c0f80cbae52ee85b9fdf12bdcebe99a78febd6a
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 8a15e23..49af7a7 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -285,4 +285,31 @@
<item>1</item>
<item>2</item>
</string-array>
+
+ <!-- Gestures - touchscreen gesture actions -->
+ <string-array name="touchscreen_gesture_action_entries">
+ <item>@string/touchscreen_gesture_action_do_nothing</item>
+ <item>@string/touchscreen_gesture_action_flashlight</item>
+ <item>@string/touchscreen_gesture_action_camera</item>
+ <item>@string/touchscreen_gesture_action_browser</item>
+ <item>@string/touchscreen_gesture_action_dialer</item>
+ <item>@string/touchscreen_gesture_action_email</item>
+ <item>@string/touchscreen_gesture_action_messages</item>
+ <item>@string/touchscreen_gesture_action_play_pause_music</item>
+ <item>@string/touchscreen_gesture_action_previous_track</item>
+ <item>@string/touchscreen_gesture_action_next_track</item>
+ </string-array>
+
+ <string-array name="touchscreen_gesture_action_values">
+ <item>0</item>
+ <item>1</item>
+ <item>2</item>
+ <item>3</item>
+ <item>4</item>
+ <item>5</item>
+ <item>6</item>
+ <item>7</item>
+ <item>8</item>
+ <item>9</item>
+ </string-array>
</resources>