File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
CircuitPython_Sip_and_Puff Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
detector = puff_detector .PuffDetector ()
8
8
9
9
@detector .on_sip
10
- def on_sip (strength , duration ):
10
+ def on_sip (strength , duration ):#pylint:disable=unused-argument
11
11
if strength == puff_detector .STRONG :
12
12
kbd .send (Keycode .LEFT_ARROW )
13
13
kbd .send (Keycode .LEFT_ARROW )
14
14
if strength == puff_detector .SOFT :
15
15
kbd .send (Keycode .LEFT_ARROW )
16
16
17
17
@detector .on_puff
18
- def on_puff (strength , duration ):
18
+ def on_puff (strength , duration ):#pylint:disable=unused-argument
19
19
if strength == puff_detector .STRONG :
20
20
kbd .send (Keycode .RIGHT_ARROW )
21
21
kbd .send (Keycode .RIGHT_ARROW )
22
22
if strength == puff_detector .SOFT :
23
23
kbd .send (Keycode .RIGHT_ARROW )
24
24
25
- detector .run ()
25
+ detector .run ()
You can’t perform that action at this time.
0 commit comments