Skip to content

Commit

Permalink
Merge pull request #3252 from gameblabla/odfixsdl
Browse files Browse the repository at this point in the history
Fix compiling OpenDingux code path with SDL 1.2
  • Loading branch information
carstene1ns authored Aug 16, 2024
2 parents 4077070 + 9a818b4 commit 68757ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/platform/opendingux/opendingux_input_buttons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,12 @@ Input::KeyNamesArray Input::GetInputKeyNames() {

void Input::GetSupportedConfig(Game_ConfigInput& cfg) {}


#include "platform/sdl/axis.h"
SdlAxis Input::GetSdlAxis() {
return {
0, 1, 2, 3, 4, 5, false, false
};
}

#endif

0 comments on commit 68757ea

Please sign in to comment.