Skip to content
Snippets Groups Projects
Commit 79a2f879 authored by Pixtxa's avatar Pixtxa
Browse files

LINT!

parent 7a95528b
No related branches found
No related tags found
1 merge request!433Simple Menu
......@@ -21,6 +21,7 @@ except OSError:
""":py:func:`~simple_menu.button_events` timeout marker."""
def button_events(timeout=None, long_press_ms=LONG_PRESS_MS, retrigger_ms=RETRIGGER_MS):
"""
Iterate over button presses (event-loop).
......@@ -88,7 +89,7 @@ def button_events(timeout=None, long_press_ms=LONG_PRESS_MS, retrigger_ms=RETRIG
if v & buttons.TOP_RIGHT:
yield buttons.TOP_RIGHT
if (
not still_pressed
and long_press_ms
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment