summaryrefslogtreecommitdiff
path: root/chickadee.scm
diff options
context:
space:
mode:
Diffstat (limited to 'chickadee.scm')
-rw-r--r--chickadee.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/chickadee.scm b/chickadee.scm
index 478cf6c..e14f924 100644
--- a/chickadee.scm
+++ b/chickadee.scm
@@ -105,9 +105,8 @@
"Return a floating point value in the range [-1, 1] corresponding to
how much AXIS is being pushed on CONTROLLER. 0 is returned if AXIS is
not being pushed at all."
- (- (/ (sdl2:game-controller-axis controller axis)
- 32768.0)
- 0.5))
+ (/ (sdl2:game-controller-axis controller axis)
+ 32768.0))
(define current-window (make-parameter #f))