aboutsummaryrefslogtreecommitdiff
path: root/overlay/packages/apps/FlipFlap/res/values/config.xml
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/packages/apps/FlipFlap/res/values/config.xml')
-rw-r--r--overlay/packages/apps/FlipFlap/res/values/config.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/overlay/packages/apps/FlipFlap/res/values/config.xml b/overlay/packages/apps/FlipFlap/res/values/config.xml
new file mode 100644
index 0000000..a8fba9f
--- /dev/null
+++ b/overlay/packages/apps/FlipFlap/res/values/config.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <!-- Define Device Lid Style
+
+ 1 HTC Style Dotcase
+ 2 Asus/LG Style Circle Window Cover
+
+ For example, a device with Asus Circle Cover would set 2 -->
+ <integer name="config_deviceCoverType">2</integer>
+
+ <!-- Define Path to lid switch node. Node should report the following:
+ OEPN = 0, Closed =1
+ example path : "/sys/devices/virtual/switch/smartcover/state" -->
+ <string name="cover_node" translatable="false">/sys/devices/virtual/switch/smartcover/state</string>
+
+ <!-- Define path to lid Uevent node. Node should trigger on every cover change
+ example path : "DEVPATH=/devices/virtual/switch/smartcover" -->
+ <string name="cover_uevent_match" translatable="false">DEVPATH=/devices/virtual/switch/smartcover</string>
+
+</resources>