hardern heuristic even more
This commit is contained in:
parent
88e77d310c
commit
4444a90aa2
@ -167,10 +167,11 @@ class driver(screenDriver):
|
||||
if lastScreenContent == b'':
|
||||
lastScreenContent = screenContent
|
||||
if (abs( int(screenContent[2]) - int(lastScreenContent[2])) in [1,2]) and \
|
||||
(abs( int(screenContent[3]) == int(lastScreenContent[3]))):
|
||||
(int(screenContent[3]) == int(lastScreenContent[3])):
|
||||
# Skip X Movement
|
||||
pass
|
||||
elif abs( int(screenContent[3]) - int(lastScreenContent[3])) in [1]:
|
||||
elif (abs( int(screenContent[3]) - int(lastScreenContent[3])) in [1]) and \
|
||||
(int(screenContent[2]) == int(lastScreenContent[2])):
|
||||
# Skip Y Movement
|
||||
pass
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user