We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 146db0f commit cdc0d4dCopy full SHA for cdc0d4d
1 file changed
plugins/samples/RepeatA.py
@@ -0,0 +1,12 @@
1
+import logging
2
+from JoycontrolPlugin import JoycontrolPlugin
3
+
4
+logger = logging.getLogger(__name__)
5
6
+class RepeatA(JoycontrolPlugin):
7
+ async def run(self):
8
+ logger.info('Repeat A Plugin')
9
10
+ while True:
11
+ await self.button_push('a')
12
+ await self.wait(0.1)
0 commit comments