mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 12:47:12 +01:00
Updated BSInputEventKey's action_match parameters.
This commit is contained in:
parent
1b3f8db220
commit
fd41c321a5
@ -51,8 +51,7 @@ void BSInputEventKey::from_input_event_key(const Ref<InputEventKey> event) {
|
||||
set_echo(event->is_echo());
|
||||
}
|
||||
|
||||
bool BSInputEventKey::action_match(const Ref<InputEvent> &p_event, bool *p_pressed, float *p_strength, float p_deadzone) const {
|
||||
|
||||
bool BSInputEventKey::action_match(const Ref<InputEvent> &p_event, bool p_exact_match, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const {
|
||||
Ref<InputEventKey> key = p_event;
|
||||
if (key.is_null())
|
||||
return false;
|
||||
|
@ -36,7 +36,7 @@ class BSInputEventKey : public InputEventKey {
|
||||
|
||||
public:
|
||||
void from_input_event_key(const Ref<InputEventKey> p_event);
|
||||
virtual bool action_match(const Ref<InputEvent> &p_event, bool *p_pressed, float *p_strength, float p_deadzone) const;
|
||||
virtual bool action_match(const Ref<InputEvent> &p_event, bool p_exact_match, bool *p_pressed, float *p_strength, float *p_raw_strength, float p_deadzone) const;
|
||||
|
||||
BSInputEventKey();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user