We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 720ada6 + 6e3c9a4 commit 716c07aCopy full SHA for 716c07a
adafruit_ducky.py
@@ -185,10 +185,10 @@ def loop( # pylint: disable=too-many-return-statements
185
186
self.write_key(start)
187
if len(words) == 1:
188
+ self.keyboard.release_all()
189
time.sleep(self.default_delay)
190
self.last = self.lines[0]
191
self.lines.pop(0)
- self.keyboard.release_all()
192
return True
193
if len(words[1]):
194
self.loop(line=words[1])
@@ -198,8 +198,6 @@ def loop( # pylint: disable=too-many-return-statements
198
199
self.keyboard.release_all()
200
201
- self.last = self.lines[0]
202
- self.lines.pop(0)
203
204
205
def write_key(self, start: str) -> None:
0 commit comments