provide default coord_mapping from scanners

This commit is contained in:
xs5871
2022-04-09 23:54:23 +00:00
committed by Kyle Brown
parent 8ac497d99b
commit e395e89864
4 changed files with 18 additions and 10 deletions

View File

@@ -24,6 +24,10 @@ class Scanner:
coord_mapping = None
@property
def key_count(self):
raise NotImplementedError
def scan_for_changes(self):
'''
Scan for key events and return a key report if an event exists.