Remove debugging code.
This commit is contained in:
parent
870f3bfe99
commit
e4a78b7566
|
@ -37,9 +37,6 @@ invert = BoolVariable(
|
||||||
# Constants
|
# Constants
|
||||||
AXIS_SCALING_FACTOR = 250 # Value determined through testing.
|
AXIS_SCALING_FACTOR = 250 # Value determined through testing.
|
||||||
|
|
||||||
# Debugging
|
|
||||||
ticks = 0
|
|
||||||
|
|
||||||
axis_decorator = axis.create_decorator(mode.value)
|
axis_decorator = axis.create_decorator(mode.value)
|
||||||
last_timestamp = datetime.now()
|
last_timestamp = datetime.now()
|
||||||
scroll_scaling = scroll_speed.value if scroll_speed.value != 0.0 else 1.0
|
scroll_scaling = scroll_speed.value if scroll_speed.value != 0.0 else 1.0
|
||||||
|
@ -67,7 +64,3 @@ def handle_axis(event):
|
||||||
if invert.value: direction = direction * -1
|
if invert.value: direction = direction * -1
|
||||||
gremlin.sendinput.mouse_wheel(direction)
|
gremlin.sendinput.mouse_wheel(direction)
|
||||||
last_timestamp = datetime.now()
|
last_timestamp = datetime.now()
|
||||||
|
|
||||||
# debug
|
|
||||||
ticks += 1
|
|
||||||
gremlin.util.log(ticks)
|
|
Loading…
Reference in New Issue
Block a user