|
|
|
@ -200,7 +200,11 @@ def read_finger(args, remote_device):
|
|
|
|
last_x = 0
|
|
|
|
last_x = 0
|
|
|
|
last_y = 0
|
|
|
|
last_y = 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
del mt_list[mt_slot]
|
|
|
|
del mt_list[mt_slot]
|
|
|
|
|
|
|
|
except:
|
|
|
|
|
|
|
|
#ignore presses wich started when the stylus was present
|
|
|
|
|
|
|
|
pass
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
mt_list[mt_slot] = e_value
|
|
|
|
mt_list[mt_slot] = e_value
|
|
|
|
|
|
|
|
|
|
|
|
@ -227,7 +231,7 @@ def read_finger(args, remote_device):
|
|
|
|
m_speed = 1
|
|
|
|
m_speed = 1
|
|
|
|
|
|
|
|
|
|
|
|
if len(mt_list) > 1:
|
|
|
|
if len(mt_list) > 1:
|
|
|
|
mouse.scroll(0.2 * arg_x, 0.2 * arg_y)
|
|
|
|
mouse.scroll(0.1 * arg_x, 0.1 * arg_y)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
mouse.move(m_speed * arg_x, m_speed * arg_y)
|
|
|
|
mouse.move(m_speed * arg_x, m_speed * arg_y)
|
|
|
|
|
|
|
|
|
|
|
|
|