From 2c7d6ce6ee87fa3db753774d754acce5d63c4e4d Mon Sep 17 00:00:00 2001 From: fewtarius Date: Mon, 29 May 2023 14:42:13 +0000 Subject: [PATCH] If def doesn't like dashes. --- src/def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/def.h b/src/def.h index 5190eae..3f45c8e 100644 --- a/src/def.h +++ b/src/def.h @@ -43,7 +43,7 @@ #define KEYBOARD_SYMBOL_SIZE 24 // Parameters for rk3566-x55 -#elif defined(DEVICE_RK3566-X55) +#elif defined(DEVICE_RK3566_X55) #define SCREEN_WIDTH 1280 #define SCREEN_HEIGHT 720 #define HARDWARE_ACCELERATION 0 @@ -207,7 +207,7 @@ #define BUTTON_HELD_PAGEDOWN SDL_JoystickGetButton(g_joystick, 5) || SDL_JoystickGetButton(g_joystick, 7) #define BUTTON_HELD_SELECT SDL_JoystickGetButton(g_joystick, 3) #define BUTTON_HELD_VALIDATE SDL_JoystickGetButton(g_joystick, 1) -#elif defined(DEVICE_RK3566-X55) +#elif defined(DEVICE_RK3566_X55) #define BUTTON_PRESSED_UP event.type == SDL_JOYBUTTONDOWN && event.jbutton.button == 13 #define BUTTON_PRESSED_DOWN event.type == SDL_JOYBUTTONDOWN && event.jbutton.button == 14 #define BUTTON_PRESSED_LEFT event.type == SDL_JOYBUTTONDOWN && event.jbutton.button == 15