Inherits: Resource < Reference < Object

Category: Core

Brief Description

A shortcut for binding input.

Member Functions

String get_as_text ( ) const
bool is_shortcut ( InputEvent event ) const
bool is_valid ( ) const

Member Variables

Generally the InputEvent is a keyboard key, though it can be any InputEvent.


A shortcut for binding input.

Shortcuts are commonly used for interacting with a Control element from a InputEvent.

Member Function Description

  • String get_as_text ( ) const

Returns the Shortcut’s InputEvent as a String.

Returns true if the Shortcut’s InputEvent equals event.

  • bool is_valid ( ) const

If true this Shortcut is valid.