+# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
+#
+# SPDX-License-Identifier: MIT
"""
`keypad` - Support for scanning keys and key matrices
===========================================================
)
-class _EventQueue:
+class EventQueue:
"""
A queue of `Event` objects, filled by a `keypad` scanner such as `Keys` or `KeyMatrix`.
key_count,
value_when_pressed,
interval=0.02,
- max_events=64
+ max_events=64,
):
"""
Create a `Keys` object that will scan keys attached to a parallel-in serial-out