mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:38:02 +02:00
add a missing HAVE_SDL wrap on setter in Joystick
This commit is contained in:
parent
8e2d41f37f
commit
ce505c1b0c
1 changed files with 3 additions and 0 deletions
|
@ -38,7 +38,10 @@ public:
|
||||||
void update();
|
void update();
|
||||||
|
|
||||||
void closeJoystick();
|
void closeJoystick();
|
||||||
|
|
||||||
|
#ifdef HAVE_SDL
|
||||||
void setSDLJoystick(SDL_Joystick* sdlJoystick) { _sdlJoystick = sdlJoystick; }
|
void setSDLJoystick(SDL_Joystick* sdlJoystick) { _sdlJoystick = sdlJoystick; }
|
||||||
|
#endif
|
||||||
|
|
||||||
const QString& getName() const { return _name; }
|
const QString& getName() const { return _name; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue