mirror of https://github.com/mgba-emu/mgba.git
Fix the MSVC and SDL-less builds.
This commit is contained in:
parent
3d22afe0aa
commit
69ce20fab1
|
@ -730,9 +730,9 @@ void InputController::bindHat(const QModelIndex& index, int hat, GamepadHatEvent
|
|||
bindHat(platform, SDL_BINDING_BUTTON, hat, direction, coreKey);
|
||||
}
|
||||
#else
|
||||
void InputController::bindButton(const QModelIndex& index, int key, int) {}
|
||||
void InputController::bindAxis(const QModelIndex& index, int axis, GamepadAxisEvent::Direction, int) {}
|
||||
void InputController::bindHat(const QModelIndex& index, int hat, GamepadHatEvent::Direction, int) {}
|
||||
void InputController::bindButton(const QModelIndex& index, int key) {}
|
||||
void InputController::bindAxis(const QModelIndex& index, int axis, GamepadAxisEvent::Direction) {}
|
||||
void InputController::bindHat(const QModelIndex& index, int hat, GamepadHatEvent::Direction) {}
|
||||
#endif
|
||||
|
||||
bool InputController::eventFilter(QObject*, QEvent* event) {
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#include "GamepadAxisEvent.h"
|
||||
#include "GamepadHatEvent.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QMap>
|
||||
#include <QObject>
|
||||
#include <QSet>
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#include "GamepadAxisEvent.h"
|
||||
#include "GamepadHatEvent.h"
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <QAction>
|
||||
|
||||
#include <mgba/core/core.h>
|
||||
|
|
Loading…
Reference in New Issue