def regist_hotkey(self, hotkey_group, queue_h):
    if settings.test:
        keyboard.add_hotkey('F10', self.f10_fun)
        keyboard.add_hotkey('F11', self.f11_fun)
        keyboard.add_hotkey('F12', self.f12_fun)
    elif (hotkey_group == settings.KeyGroupEnum.modau):
        keyboard.add_hotkey('F10', self.modau_f10_fun)
        keyboard.add_hotkey('F11', self.modau_f11_fun)
        keyboard.add_hotkey('F12', self.modau_f12_fun)
    keyboard.wait('esc')
    queue_h.put('end')
def regist_hotkey(self, hotkey_group, queue_h):
    if settings.test:
        keyboard.add_hotkey('F10', self.f10_fun)
        keyboard.add_hotkey('F11', self.f11_fun)
        keyboard.add_hotkey('F12', self.f12_fun)
    elif (hotkey_group == settings.KeyGroupEnum.modau):
        keyboard.add_hotkey('F10', self.modau_f10_fun)
        keyboard.add_hotkey('F11', self.modau_f11_fun)
        keyboard.add_hotkey('F12', self.modau_f12_fun)
    keyboard.wait('esc')
    queue_h.put('end')