We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2033cf commit 67b246cCopy full SHA for 67b246c
1 file changed
CircuitPython_Sip_and_Puff/simple_hid.py
@@ -7,19 +7,19 @@
7
detector = puff_detector.PuffDetector()
8
9
@detector.on_sip
10
-def on_sip(strength, duration):
+def on_sip(strength, duration):#pylint:disable=unused-argument
11
if strength == puff_detector.STRONG:
12
kbd.send(Keycode.LEFT_ARROW)
13
14
if strength == puff_detector.SOFT:
15
16
17
@detector.on_puff
18
-def on_puff(strength, duration):
+def on_puff(strength, duration):#pylint:disable=unused-argument
19
20
kbd.send(Keycode.RIGHT_ARROW)
21
22
23
24
25
-detector.run()
+detector.run()
0 commit comments