Input Manager
InputManager
Handles input events and passes them to the correct components/layouts.
Parameters
the layout to create this event manager for. marked as internal as should not be accessed.
the key binder to use for this event manager. marked as internal as should not be accessed.
Functions
add a modifier to the current keyModifiers.
Clear the current keyModifiers.
Drop the current mouse over component.
Call this method when files are dropped onto this window. The Event.Focused.FileDrop is then dispatched to the currently focused component.
Sets the focus to the specified focusable element, throwing an exception if the provided element is not focusable.
call this function to update the mouse position.
call this function when a mouse button is released.
call this function when the mouse is scrolled.
perform a recursive ray check on the component. Each component will be checked with Component.isEnabled, then Component.isInside, then finally Inputtable.acceptsInput before it is considered a valid candidate.
same as rayCheck, but does not check for Inputtable.acceptsInput.
force the mouse position to be updated.
remove a modifier from the current keyModifiers.
try to focus a component, without throwing an exception.