Compare commits
No commits in common. "main" and "v0.2" have entirely different histories.
|
@ -47,6 +47,7 @@ scroll_scaling = scroll_speed.value if scroll_speed.value != 0.0 else 1.0
|
||||||
def handle_axis(event):
|
def handle_axis(event):
|
||||||
global last_timestamp
|
global last_timestamp
|
||||||
global damping
|
global damping
|
||||||
|
global ticks # debug
|
||||||
|
|
||||||
# TODO: use this code instead when periodic callback is fixed
|
# TODO: use this code instead when periodic callback is fixed
|
||||||
# axis_value = joy[axis.device_guid].axis(axis.input_id).value
|
# axis_value = joy[axis.device_guid].axis(axis.input_id).value
|
||||||
|
|
Loading…
Reference in New Issue
Block a user