diff options
author | Nimrod Gileadi <nimrod@google.com> | 2017-01-18 16:53:17 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-01-18 16:53:17 +0000 |
commit | a9603177becf2556febaca8cd6fae29f344ab286 (patch) | |
tree | a6b1a0667b02dba6f9809371ed20ce740ee213f7 | |
parent | 6a683307573b89c2685ba1d36877a432db3c60b1 (diff) | |
parent | 3aee9244756bd08b8bc36f8f024688c3ac40ebd2 (diff) | |
download | device_generic_goldfish-android-7.1.2_r3.tar.gz device_generic_goldfish-android-7.1.2_r3.tar.bz2 device_generic_goldfish-android-7.1.2_r3.zip |
Add Input Device Configuration for rotary input.android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-dev
am: 3aee924475
Change-Id: Ibf3469f38e28edbdf909d5f786e671dd7b8da5b6
-rw-r--r-- | input/goldfish_rotary.idc | 8 |
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 |