25 lines
927 B
Diff
25 lines
927 B
Diff
|
diff --git a/src/sdl_window.cpp b/src/sdl_window.cpp
|
||
|
index bd2cc39d..13438149 100644
|
||
|
--- a/src/sdl_window.cpp
|
||
|
+++ b/src/sdl_window.cpp
|
||
|
@@ -127,19 +127,12 @@ void WindowSDL::onResize() {
|
||
|
void WindowSDL::onKeyPress(const SDL_Event* event) {
|
||
|
using Libraries::Pad::OrbisPadButtonDataOffset;
|
||
|
|
||
|
-#ifdef __APPLE__
|
||
|
// Use keys that are more friendly for keyboards without a keypad.
|
||
|
// Once there are key binding options this won't be necessary.
|
||
|
constexpr SDL_Keycode CrossKey = SDLK_N;
|
||
|
constexpr SDL_Keycode CircleKey = SDLK_B;
|
||
|
constexpr SDL_Keycode SquareKey = SDLK_V;
|
||
|
constexpr SDL_Keycode TriangleKey = SDLK_C;
|
||
|
-#else
|
||
|
- constexpr SDL_Keycode CrossKey = SDLK_KP_2;
|
||
|
- constexpr SDL_Keycode CircleKey = SDLK_KP_6;
|
||
|
- constexpr SDL_Keycode SquareKey = SDLK_KP_4;
|
||
|
- constexpr SDL_Keycode TriangleKey = SDLK_KP_8;
|
||
|
-#endif
|
||
|
|
||
|
u32 button = 0;
|
||
|
Input::Axis axis = Input::Axis::AxisMax;
|