GUI Input
App: apps/gui_input/
Shows live mouse position, button state, wheel, key state, key-just-pressed, modifiers, and window size — useful for debugging input.
Run from root
Section titled “Run from root”% ./plume3d gui_inputor
Run from app directory
Section titled “Run from app directory”% ./../plume3d .What it does
Section titled “What it does”- One GUI window that updates every frame with:
- Mouse:
Input.mouseX(),Input.mouseY() - Buttons:
Input.mouseLeft(),Input.mouseRight() - Wheel:
Input.mouseWheelX(),Input.mouseWheelY() - Key:
Input.key("a"),Input.keyJustPressed("a") - Modifiers:
Input.modShift(),Input.modCtrl() - Window:
Window.getWidth(),Window.getHeight()
- Mouse: