ShortCut

Inherits: Resource < Reference < Object A shortcut for binding input.

Description

A shortcut for binding input. Control element from a InputEvent.

Properties

Methods

Property Descriptions

  • InputEvent shortcut InputEvent. InputEvent is a keyboard key, though it can be any InputEvent.

    Method Descriptions

  • String get_as_text ( ) const InputEvent as a String.

  • bool is_shortcut ( InputEvent event ) const true if the shortcut’s InputEvent equals event.

  • bool is_valid ( ) const true, this shortcut is valid.