Jump to content

Input

Leadwerks Engine 2 allows input from the keyboard and mouse. Because keyboard and mouse input are tied to the graphics window, input commands will not work if an external custom buffer is used.

Use the chart at the right to view keyboard equivalents for the engine. Put KEY_ before the text on the key you want to access.

[attachment=3607:Keyboard.jpg]

Commands

FlushKeys
FlushMouse
GetChar
HideMouse
KeyDown
KeyHit
MouseDown
MouseHit
MouseX
MouseY
MouseZ
MoveMouse
ShowMouse
  • You cannot add records