2018-09-03 03:22:11 -07:00
|
|
|
from kmk.common.consts import DiodeOrientation
|
|
|
|
|
|
|
|
|
|
|
|
class AbstractMatrixScanner():
|
2018-09-21 17:22:03 -07:00
|
|
|
def __init__(self, cols, rows, active_layers, diode_orientation=DiodeOrientation.COLUMNS):
|
2018-09-03 03:22:11 -07:00
|
|
|
raise NotImplementedError('Abstract implementation')
|
|
|
|
|
2018-10-01 00:31:45 -07:00
|
|
|
def scan_for_pressed(self):
|
2018-09-03 03:22:11 -07:00
|
|
|
raise NotImplementedError('Abstract implementation')
|