Skip to content

Commit

Permalink
CHANGES: enables libudev and changes X11 to RPI video driver for Rasp…
Browse files Browse the repository at this point in the history
…berry Pi.
  • Loading branch information
gepatto committed Feb 13, 2017
1 parent bdfd417 commit 581f53d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/configs/rpi/SDL_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down Expand Up @@ -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" */
Expand All @@ -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 */
Expand Down

0 comments on commit 581f53d

Please sign in to comment.