kmk_firmware/kmk/scanners/__init__.py
2022-02-20 18:42:38 -08:00

16 lines
354 B
Python

class Scanner:
'''
Base class for scanners.
'''
def __init__(self):
self.coord_mapping = None
def scan_for_changes(self):
'''
Scan for key events and return a key report if an event exists.
The key report is a byte array with contents [row, col, True if pressed else False]
'''
pass