mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
renamed serial keymap codes to mcu
This commit is contained in:
@@ -21,7 +21,7 @@ IpmiServer.handle_raw_request
|
||||
_AtxApiPart.switch_power
|
||||
|
||||
_KeyMapping.web_name
|
||||
_KeyMapping.serial_code
|
||||
_KeyMapping.mcu_code
|
||||
_KeyMapping.arduino_name
|
||||
_KeyMapping.otg_key
|
||||
_KeyMapping.ps2_key
|
||||
|
||||
@@ -27,7 +27,7 @@ from kvmd.keyboard.mappings import KEYMAP
|
||||
|
||||
# =====
|
||||
def test_ok__keymap() -> None:
|
||||
assert KEYMAP["KeyA"].serial.code == 1
|
||||
assert KEYMAP["KeyA"].mcu.code == 1
|
||||
|
||||
|
||||
def test_fail__keymap() -> None:
|
||||
|
||||
Reference in New Issue
Block a user