input Examples
Examples demonstrating input concepts and features.
Character Input Events
Read character input events for text entry and typing detection.
Gamepad Input
Read gamepad button and axis state for connected controllers.
Gamepad Input Events
Print gamepad connection, button, and axis events as they occur.
Keyboard Input
Check keyboard button state for pressed, just pressed, and just released keys.
Keyboard Input Events
Print all keyboard events as they occur using the message system.
Keyboard Modifiers
Detect modifier keys like Ctrl, Shift, and Alt in combination with other keys.
Mouse Grab
Capture and hide the mouse cursor for FPS-style camera control.
Mouse Input
Track mouse button state and detect mouse motion.
Mouse Input Events
Print all mouse events including button, motion, cursor, and scroll.
Touch Input Events
Handle touch screen input events for mobile and touch devices.