diff options
author | Devaev Maxim <[email protected]> | 2020-10-29 02:29:40 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-11-11 22:24:25 +0300 |
commit | e54449fd8ef0ea98aea881d25c9bb134a3bc2e11 (patch) | |
tree | 5648cd7c1d14ed5bf46491d18ad1bc0b461962af /kvmd/plugins | |
parent | 08b96b7ada3363f599c9f58d091d9a06d54c2031 (diff) |
renamed serial keymap codes to mcu
Diffstat (limited to 'kvmd/plugins')
-rw-r--r-- | kvmd/plugins/hid/_mcu/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/_mcu/__init__.py b/kvmd/plugins/hid/_mcu/__init__.py index bc978499..71981e0d 100644 --- a/kvmd/plugins/hid/_mcu/__init__.py +++ b/kvmd/plugins/hid/_mcu/__init__.py @@ -93,7 +93,7 @@ class _KeyEvent(_BaseEvent): assert self.name in KEYMAP def make_command(self) -> bytes: - code = KEYMAP[self.name].serial.code + code = KEYMAP[self.name].mcu.code return struct.pack(">BBBxx", 0x11, code, int(self.state)) |