allwinner_a64/android/device/generic/goldfish/input/goldfish_rotary.idc
2018-08-08 17:48:24 +08:00

8 lines
232 B
C

# 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