Simulate finger long press somewhere. (1000ms = 1s)

def long_press(self, x: int, y: int, duration: int = 1000) -> None:
        '''Simulate finger long press somewhere. (1000ms = 1s)'''
        self._execute('-s', self.device_sn, 'shell',
                      'input', 'swipe', str(x), str(y), str(x), str(y), str(duration))