Skip to content

Commit 2bb651f

Browse files
committed
2 parents 1e2a2eb + d79014a commit 2bb651f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/en/manuals/input-gamepads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ It is possible to check if an input action for a gamepad is from an unknown game
134134

135135
```lua
136136
function on_input(self, action_id, action)
137-
if action_is == hash("connected") then
137+
if action_id == hash("connected") then
138138
if action.gamepad_unknown then
139139
print("The connected gamepad is unidentified and will only generate raw input")
140140
else

docs/pl/manuals/input-gamepads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Możesz sprawdzić, czy akcja wejścia dla gamepada jest od nieznanego gamepada,
142142

143143
```lua
144144
function on_input(self, action_id, action)
145-
if action_is == hash("connected") then
145+
if action_id == hash("connected") then
146146
if action.gamepad_unknown then
147147
print("The connected gamepad is unidentified and will only generate raw input")
148148
else

docs/zh/manuals/input-gamepads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ end
134134

135135
```lua
136136
function on_input(self, action_id, action)
137-
if action_is == hash("connected") then
137+
if action_id == hash("connected") then
138138
if action.gamepad_unknown then
139139
print("The connected gamepad is unidentified and will only generate raw input")
140140
else

0 commit comments

Comments
 (0)