Remove debugging code.
This commit is contained in:
parent
870f3bfe99
commit
e4a78b7566
|
@ -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)
|
||||
last_timestamp = datetime.now()
|
Loading…
Reference in New Issue
Block a user