summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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