diff --git a/axis_to_scrollwheel.py b/axis_to_scrollwheel.py index 8872a56..bea6ab1 100644 --- a/axis_to_scrollwheel.py +++ b/axis_to_scrollwheel.py @@ -47,7 +47,6 @@ scroll_scaling = scroll_speed.value if scroll_speed.value != 0.0 else 1.0 def handle_axis(event): global last_timestamp global damping - global ticks # debug # TODO: use this code instead when periodic callback is fixed # axis_value = joy[axis.device_guid].axis(axis.input_id).value