mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 10:31:54 +08:00
removed _state suffix from all ws events
This commit is contained in:
@@ -131,15 +131,15 @@ class _Subsystem:
|
||||
|
||||
|
||||
class KvmdServer(HttpServer): # pylint: disable=too-many-arguments,too-many-instance-attributes
|
||||
__EV_GPIO_STATE = "gpio_state"
|
||||
__EV_HID_STATE = "hid_state"
|
||||
__EV_HID_KEYMAPS_STATE = "hid_keymaps_state" # FIXME
|
||||
__EV_ATX_STATE = "atx_state"
|
||||
__EV_MSD_STATE = "msd_state"
|
||||
__EV_STREAMER_STATE = "streamer_state"
|
||||
__EV_OCR_STATE = "ocr_state"
|
||||
__EV_INFO_STATE = "info_state"
|
||||
__EV_SWITCH_STATE = "switch_state"
|
||||
__EV_GPIO_STATE = "gpio"
|
||||
__EV_HID_STATE = "hid"
|
||||
__EV_HID_KEYMAPS_STATE = "hid_keymaps" # FIXME
|
||||
__EV_ATX_STATE = "atx"
|
||||
__EV_MSD_STATE = "msd"
|
||||
__EV_STREAMER_STATE = "streamer"
|
||||
__EV_OCR_STATE = "ocr"
|
||||
__EV_INFO_STATE = "info"
|
||||
__EV_SWITCH_STATE = "switch"
|
||||
|
||||
def __init__( # pylint: disable=too-many-arguments,too-many-locals
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user