-Modified Input and added is_action_just_pressed() as well as is_action_just_released()
This commit is contained in:
parent
3759d378da
commit
5b96c3a552
11 changed files with 196 additions and 41 deletions
|
|
@ -290,6 +290,10 @@ bool InputMap::event_is_joy_motion_action_pressed(const InputEvent& p_event) con
|
|||
|
||||
}
|
||||
|
||||
const Map<StringName, InputMap::Action>& InputMap::get_action_map() const {
|
||||
return input_map;
|
||||
}
|
||||
|
||||
void InputMap::load_from_globals() {
|
||||
|
||||
input_map.clear();;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue