forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_inputmap
Lukas Sägesser edited this page Jun 22, 2015
·
7 revisions
####Inherits: Object ####Category: Core
Singleton that manages actions.
- bool has_action ( String action ) const
- int get_action_id ( String action ) const
- String get_action_from_id ( int id ) const
- void add_action ( String action )
- void erase_action ( String action )
- void action_add_event ( String action, InputEvent event )
- bool action_has_event ( String action, InputEvent event )
- void action_erase_event ( String action, InputEvent event )
- Array get_action_list ( String action )
- bool event_is_action ( InputEvent event, String action ) const
- void load_from_globals ( )
Singleton that manages actions. InputMap has a list of the actions used in InputEvent, which can be modified.