def press_key_and_hold(self, hex_key_code):

        extra = ctypes.c_ulong(0)
        ii_ = EventStorage()
        ii_.ki = KeyboardInput(hex_key_code, 0x48, 0, 0, ctypes.pointer(extra))
        x = Input(ctypes.c_ulong(1), ii_)
        send_input(1, ctypes.pointer(x), ctypes.sizeof(x))
Presses (and holds) key specified by a hex code.
dataset/ETHPy150Open F1ashhimself/UISoup/uisoup/win_soup/keyboard.py/WinKeyboard.press_key_and_hold