From bce35fa8cc7f9d544559c2be3a48d5185c566012 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 30 Mar 2015 23:56:39 +0200 Subject: [PATCH] Enable 'Touch enable' by default for RARCH_MOBILE --- config.def.h | 6 ++++++ settings.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index d4b24a2439..3d08a18703 100644 --- a/config.def.h +++ b/config.def.h @@ -314,6 +314,12 @@ enum #define DEFAULT_ASPECT_RATIO -1.0f #endif +#ifdef RARCH_MOBILE +static const bool pointer_enable = true; +#else +static const bool pointer_enable = false; +#endif + static const bool def_history_list_enable = true; static const unsigned int def_user_language = 0; diff --git a/settings.c b/settings.c index 66999a2579..54e96c9cfc 100644 --- a/settings.c +++ b/settings.c @@ -5265,7 +5265,7 @@ static bool setting_append_list_menu_options( settings->menu.pointer.enable, "menu_pointer_enable", "Touch Enable", - false, + pointer_enable, "OFF", "ON", group_info.name,