be more accurate
This commit is contained in:
parent
bf49e9d72a
commit
228f6ba417
@ -165,7 +165,8 @@ class driver(screenDriver):
|
||||
continue
|
||||
elif lastScreenContent == b'':
|
||||
lastScreenContent = screenContent
|
||||
if abs( int(screenContent[2]) - int(lastScreenContent[2])) in [1]:
|
||||
if (abs( int(screenContent[2]) - int(lastScreenContent[2])) in [1,2]) and \
|
||||
(abs( int(screenContent[3]) == int(lastScreenContent[3]))):
|
||||
# Skip X Movement
|
||||
pass
|
||||
elif abs( int(screenContent[3]) - int(lastScreenContent[3])) in [1]:
|
||||
|
Loading…
Reference in New Issue
Block a user