summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNimrod Gileadi <nimrod@google.com>2017-01-18 16:53:17 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-01-18 16:53:17 +0000
commita9603177becf2556febaca8cd6fae29f344ab286 (patch)
treea6b1a0667b02dba6f9809371ed20ce740ee213f7
parent6a683307573b89c2685ba1d36877a432db3c60b1 (diff)
parent3aee9244756bd08b8bc36f8f024688c3ac40ebd2 (diff)
downloadgoldfish-nougat-mr2-security-release.tar.gz
am: 3aee924475 Change-Id: Ibf3469f38e28edbdf909d5f786e671dd7b8da5b6
-rw-r--r--input/goldfish_rotary.idc8
1 files changed, 8 insertions, 0 deletions
diff --git a/input/goldfish_rotary.idc b/input/goldfish_rotary.idc
new file mode 100644
index 00000000..a8434bc7
--- /dev/null
+++ b/input/goldfish_rotary.idc
@@ -0,0 +1,8 @@
+# Device configuration for a rotary input device.
+device.type = rotaryEncoder
+
+# Should be (number of ticks in full rotation) / (2 PI).
+# Here, chosen arbirarily to be 360 / (2 PI)
+device.res = 57.295
+
+device.scalingFactor = 0.0138