File tree Expand file tree Collapse file tree 3 files changed +3
-12
lines changed
scenes/game_elements/props/hint/input_key Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,7 @@ func _physics_process(_delta: float) -> void:
8080
8181func _ready () -> void :
8282 InputHelper .device_changed .connect (_on_input_device_changed )
83- _on_input_device_changed (
84- InputHelper .last_known_joypad_device ,
85- InputHelper .last_known_joypad_index ,
86- )
83+ _on_input_device_changed (InputHelper .device , InputHelper .device_index )
8784
8885
8986func _on_input_device_changed (device : String , _device_index : int ) -> void :
Original file line number Diff line number Diff line change @@ -28,10 +28,7 @@ func _physics_process(_delta: float) -> void:
2828
2929func _ready () -> void :
3030 InputHelper .device_changed .connect (_on_input_device_changed )
31- _on_input_device_changed (
32- InputHelper .last_known_joypad_device ,
33- InputHelper .last_known_joypad_index ,
34- )
31+ _on_input_device_changed (InputHelper .device , InputHelper .device_index )
3532
3633
3734func _on_input_device_changed (device : String , _device_index : int ) -> void :
Original file line number Diff line number Diff line change @@ -20,10 +20,7 @@ func _physics_process(_delta: float) -> void:
2020
2121func _ready () -> void :
2222 InputHelper .device_changed .connect (_on_input_device_changed )
23- _on_input_device_changed (
24- InputHelper .last_known_joypad_device ,
25- InputHelper .last_known_joypad_index ,
26- )
23+ _on_input_device_changed (InputHelper .device , InputHelper .device_index )
2724
2825
2926func _on_input_device_changed (device : String , _device_index : int ) -> void :
You can’t perform that action at this time.
0 commit comments