device/generic/goldfish/input/virtio_input_rotary.idc

9 lines
232 B
C
Raw Normal View History

2025-08-25 08:28:21 +08:00
# 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