Open zhiningq opened 1 week ago
Sounds absolutely feasible, implementing InputAction
would probably make more sense. Unfortunately I have a lot to do at the moment, but if it's not urgent I would take care of it in the next few weeks. Otherwise, I'm also happy to accept pull requests if it's urgent.
My goal is to be able to force quit an app using double tap home key and swipe up:
It can only be achieved using workaround
Is it possible to allow keyPress to take an array instead of just a single key? https://github.com/sebbo2002/node-pyatv/blob/7e6eefa8df87d73c4129bdc6d24148fe8ea9976d/src/lib/device.ts#L350
or if we could support double tap on keyPress with InputAction https://github.com/postlund/pyatv/blob/master/pyatv/interface.py#L372