From 581f53d0c77d67e915a9fc344630559da115b93d Mon Sep 17 00:00:00 2001 From: Patrick Gutlich Date: Mon, 13 Feb 2017 10:55:50 +0100 Subject: [PATCH] CHANGES: enables libudev and changes X11 to RPI video driver for Raspberry Pi. --- include/configs/rpi/SDL_config.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/configs/rpi/SDL_config.h b/include/configs/rpi/SDL_config.h index 5619b29..1a250e3 100755 --- a/include/configs/rpi/SDL_config.h +++ b/include/configs/rpi/SDL_config.h @@ -80,7 +80,7 @@ #define HAVE_SIGNAL_H 1 /* #undef HAVE_ALTIVEC_H */ /* #undef HAVE_PTHREAD_NP_H */ -/* #define HAVE_LIBUDEV_H 1 */ +#define HAVE_LIBUDEV_H 1 /* #define HAVE_DBUS_DBUS_H 1 */ /* #undef HAVE_IBUS_IBUS_H */ @@ -287,10 +287,10 @@ /* #undef SDL_VIDEO_DRIVER_MIR */ /* #undef SDL_VIDEO_DRIVER_MIR_DYNAMIC */ /* #undef SDL_VIDEO_DRIVER_MIR_DYNAMIC_XKBCOMMON */ -#define SDL_VIDEO_DRIVER_X11 1 -/* #undef SDL_VIDEO_DRIVER_RPI */ -#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/lib/arm-linux-gnueabihf/libX11.so.6" -#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/lib/arm-linux-gnueabihf/libXext.so.6" +// #define SDL_VIDEO_DRIVER_X11 1 +#define SDL_VIDEO_DRIVER_RPI 1 +// #define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/lib/arm-linux-gnueabihf/libX11.so.6" +// #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/lib/arm-linux-gnueabihf/libXext.so.6" /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR */ /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA */ /* #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "libXi.so.6" */ @@ -303,12 +303,12 @@ /* #define SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1 */ /* #undef SDL_VIDEO_DRIVER_X11_XRANDR */ /* #undef SDL_VIDEO_DRIVER_X11_XSCRNSAVER */ -#define SDL_VIDEO_DRIVER_X11_XSHAPE 1 +//#define SDL_VIDEO_DRIVER_X11_XSHAPE 1 /* #undef SDL_VIDEO_DRIVER_X11_XVIDMODE */ -#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1 +//#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1 /* #undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32 */ /* #undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY */ -#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1 +//#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1 /* #undef SDL_VIDEO_RENDER_D3D */ /* #undef SDL_VIDEO_RENDER_D3D11 */