]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/keypad.py
odroidm1.py
[Adafruit_Blinka-hackapet.git] / src / keypad.py
index a156d6e5add4fd0b951ca880d5e33b3618811292..b379c20f137c7e18a74e7c8d6eb239fd52a1c659 100644 (file)
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
+#
+# SPDX-License-Identifier: MIT
 """
 `keypad` - Support for scanning keys and key matrices
 ===========================================================
 """
 `keypad` - Support for scanning keys and key matrices
 ===========================================================
@@ -384,7 +387,7 @@ class ShiftRegisterKeys(_KeysBase):
         key_count,
         value_when_pressed,
         interval=0.02,
         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
     ):
         """
         Create a `Keys` object that will scan keys attached to a parallel-in serial-out