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 77detector = puff_detector .PuffDetector ()
88
99@detector .on_sip
10- def on_sip (strength , duration ):
10+ def on_sip (strength , duration ):#pylint:disable=unused-argument
1111 if strength == puff_detector .STRONG :
1212 kbd .send (Keycode .LEFT_ARROW )
1313 kbd .send (Keycode .LEFT_ARROW )
1414 if strength == puff_detector .SOFT :
1515 kbd .send (Keycode .LEFT_ARROW )
1616
1717@detector .on_puff
18- def on_puff (strength , duration ):
18+ def on_puff (strength , duration ):#pylint:disable=unused-argument
1919 if strength == puff_detector .STRONG :
2020 kbd .send (Keycode .RIGHT_ARROW )
2121 kbd .send (Keycode .RIGHT_ARROW )
2222 if strength == puff_detector .SOFT :
2323 kbd .send (Keycode .RIGHT_ARROW )
2424
25- detector .run ()
25+ detector .run ()
You can’t perform that action at this time.
0 commit comments