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