Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ynsta/steamcontroller.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStany MARCEL <stanypub@gmail.com>2015-12-08 23:34:12 +0300
committerStany MARCEL <stanypub@gmail.com>2015-12-08 23:34:12 +0300
commit1283df1f86ac4aa343278d0c26ccb4a8eb878329 (patch)
tree1a1b74d5461a617e27e85672d810cc320d824897
parent10928d26604bfbfba715abb83f913495aef25f0a (diff)
Reduce slightly default mouse scale
Signed-off-by: Stany MARCEL <stanypub@gmail.com>
-rw-r--r--src/uinput.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/uinput.py b/src/uinput.py
index 6a92ba6..2ca68c1 100644
--- a/src/uinput.py
+++ b/src/uinput.py
@@ -362,8 +362,8 @@ class Mouse(UInput):
"""
DEFAULT_FRICTION = 10.0
- DEFAULT_XSCALE = 0.007
- DEFAULT_YSCALE = 0.007
+ DEFAULT_XSCALE = 0.006
+ DEFAULT_YSCALE = 0.006
DEFAULT_MEAN_LEN = 10
@@ -520,6 +520,8 @@ class Mouse(UInput):
self._yvel_dq.append(dy * self._radscale / dt)
else:
+
+
# Free movement update velocity and compute movement
self._xvel_dq.clear()
self._yvel_dq.clear()