13 lines
295 B
Python
13 lines
295 B
Python
|
class Scanner:
|
||
|
'''
|
||
|
Base class for scanners.
|
||
|
'''
|
||
|
|
||
|
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
|