From 96bfb35e0b5dc16da586ffdb674ae042bb0bae3b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 6 Jun 2017 21:03:37 +0200 Subject: [PATCH] Set default input driver to x - udev can be hit/miss on some people's configurations --- configuration.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration.c b/configuration.c index c5d9b1df6c..60911d2f30 100644 --- a/configuration.c +++ b/configuration.c @@ -378,12 +378,12 @@ static enum input_driver_enum INPUT_DEFAULT_DRIVER = INPUT_CTR; static enum input_driver_enum INPUT_DEFAULT_DRIVER = INPUT_WII; #elif defined(WIIU) static enum input_driver_enum INPUT_DEFAULT_DRIVER = INPUT_WIIU; +#elif defined(HAVE_X11) +static enum input_driver_enum INPUT_DEFAULT_DRIVER = INPUT_X; #elif defined(HAVE_UDEV) static enum input_driver_enum INPUT_DEFAULT_DRIVER = INPUT_UDEV; #elif defined(__linux__) && !defined(ANDROID) static enum input_driver_enum INPUT_DEFAULT_DRIVER = INPUT_LINUXRAW; -#elif defined(HAVE_X11) -static enum input_driver_enum INPUT_DEFAULT_DRIVER = INPUT_X; #elif defined(HAVE_WAYLAND) static enum input_driver_enum INPUT_DEFAULT_DRIVER = INPUT_WAYLAND; #elif defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH)