From 2ef646ae3d66b5726f637fe0096f93787a4ae11d Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Thu, 23 Nov 2017 16:11:23 +0900 Subject: [PATCH] ecore_input: fix to call ecore_input_joystick_init() only when it's required Change-Id: I86ae4840caadc0d4ea13e96a435c017d98558c47 Signed-off-by: Sung-Jin Park --- src/lib/ecore_input/ecore_input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/ecore_input/ecore_input.c b/src/lib/ecore_input/ecore_input.c index 520636b..585c8f0 100644 --- a/src/lib/ecore_input/ecore_input.c +++ b/src/lib/ecore_input/ecore_input.c @@ -68,7 +68,8 @@ ecore_event_init(void) //TIZEN_ONLY(20170307) Remove warning message #pragma GCC diagnostic ignored "-Wdeprecated-declarations" - ecore_input_joystick_init(); + if (getenv("ECORE_INPUT_ENABLE_JOYSTICK_INIT")) + ecore_input_joystick_init(); #pragma GCC diagnostic pop // -- 2.7.4