diff --git a/axis_to_scrollwheel.py b/axis_to_scrollwheel.py index 59efe79..8872a56 100644 --- a/axis_to_scrollwheel.py +++ b/axis_to_scrollwheel.py @@ -37,9 +37,6 @@ invert = BoolVariable( # Constants AXIS_SCALING_FACTOR = 250 # Value determined through testing. -# Debugging -ticks = 0 - axis_decorator = axis.create_decorator(mode.value) last_timestamp = datetime.now() scroll_scaling = scroll_speed.value if scroll_speed.value != 0.0 else 1.0 @@ -66,8 +63,4 @@ def handle_axis(event): direction = 1 if axis_value > 0 else -1 if invert.value: direction = direction * -1 gremlin.sendinput.mouse_wheel(direction) - last_timestamp = datetime.now() - - # debug - ticks += 1 - gremlin.util.log(ticks) \ No newline at end of file + last_timestamp = datetime.now() \ No newline at end of file