DarkBASIC Professional Help File

DX11:INPUT

Contains functionality for querying input. Only covers keyboard and mouse devices for now.
Also handles keyboard capturing of input strings from the user.

    DX11 SET MOUSE POSITION : DX11 SET MOUSE POSITION x, y, [relative]

    DX11 GET MOUSEX : Return Integer = DX11 GET MOUSEX()

    DX11 GET MOUSEY : Return Integer = DX11 GET MOUSEY()

    DX11 GET MOUSEZ : Return Integer = DX11 GET MOUSEZ()

    DX11 GET MOUSEMOVEX : Return Integer = DX11 GET MOUSEMOVEX()

    DX11 GET MOUSEMOVEY : Return Integer = DX11 GET MOUSEMOVEY()

    DX11 GET MOUSEMOVEZ : Return Integer = DX11 GET MOUSEMOVEZ()

    DX11 IS MOUSE BUTTON DOWN : Return Boolean = DX11 IS MOUSE BUTTON DOWN(mouseButton)

    DX11 IS MOUSE BUTTON HIT : Return Boolean = DX11 IS MOUSE BUTTON HIT(mouseButton)

    DX11 IS MOUSE BUTTON RELEASED : Return Boolean = DX11 IS MOUSE BUTTON RELEASED(mouseButton)

    DX11 IS KEY DOWN : Return Boolean = DX11 IS KEY DOWN(key)

    DX11 IS KEY HIT : Return Boolean = DX11 IS KEY HIT(key)

    DX11 IS KEY RELEASED : Return Boolean = DX11 IS KEY RELEASED(key)

    DX11 IS KEY ACTIVE : Return Boolean = DX11 IS KEY ACTIVE(key)

    DX11 BEGIN STRING CAPTURE : DX11 BEGIN STRING CAPTURE [initialString]

    DX11 END STRING CAPTURE : DX11 END STRING CAPTURE

    DX11 GET CAPTURED STRING : Return String = DX11 GET CAPTURED STRING()

    DX11 GET CAPTURED STRING LENGTH : Return Dword = DX11 GET CAPTURED STRING LENGTH()

    DX11 GET CAPTURE CARET OFFSET : Return Dword = DX11 GET CAPTURE CARET OFFSET()

    DX11 GET CAPTURE CARET ROW : Return Dword = DX11 GET CAPTURE CARET ROW()

    DX11 GET CAPTURE CARET COLUMN : Return Dword = DX11 GET CAPTURE CARET COLUMN()

    DX11 SET CAPTURE CARET OFFSET : DX11 SET CAPTURE CARET OFFSET offset

    DX11 SET CAPTURE CARET POSITION : DX11 SET CAPTURE CARET POSITION row, column

    DX11 SET CAPTURE CHARACTER ACTION : DX11 SET CAPTURE CHARACTER ACTION character, keyAction

    DX11 IS CAPTURING STRING : Return Boolean = DX11 IS CAPTURING STRING()