Skip to content

Commit 9b83479

Browse files
glebmAJenbo
authored andcommitted
Fix OpenDingux/RetroFW builds
Follow-up to #4414, which removed the `state` field.
1 parent 102b6db commit 9b83479

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Source/controls/controller.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ ControllerButtonEvent ToControllerButtonEvent(const SDL_Event &event)
3636
}
3737
#if HAS_KBCTRL == 1
3838
result.button = KbCtrlToControllerButton(event);
39-
result.state = event.key.state;
40-
4139
if (result.button != ControllerButton_NONE)
4240
return result;
4341
#endif

0 commit comments

Comments
 (0)