mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-09 22:18:00 -05:00
Fixing function some more on the ds4 dpad
This commit is contained in:
@@ -124,7 +124,9 @@ class LTTGamePadDS4(vg.VDS4Gamepad):
|
||||
|
||||
self.directional_pad(direction=direction)
|
||||
self.update()
|
||||
time.sleep(0.1)
|
||||
self.reset()
|
||||
self.update()
|
||||
|
||||
def dpad_press_n_times(self, direction: vg.DS4_DPAD_DIRECTIONS, n: int):
|
||||
"""
|
||||
|
||||
@@ -107,7 +107,7 @@ def run_benchmark():
|
||||
time.sleep(0.2)
|
||||
|
||||
if kerasService.look_for_word(word="pass", attempts=5, interval=0.2):
|
||||
logging.info('Saw rocket pass. Navigatin g accordingly.')
|
||||
logging.info('Saw rocket pass. Navigating accordingly.')
|
||||
gamepad.single_dpad_press(direction=vg.DS4_DPAD_DIRECTIONS.DS4_BUTTON_DPAD_SOUTH)
|
||||
time.sleep(0.2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user