From: Sung-Jin Park Date: Thu, 23 Nov 2017 07:11:23 +0000 (+0900) Subject: ecore_input: fix to call ecore_input_joystick_init() only when it's required X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~910 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ef646ae3d66b5726f637fe0096f93787a4ae11d;p=platform%2Fupstream%2Fefl.git ecore_input: fix to call ecore_input_joystick_init() only when it's required Change-Id: I86ae4840caadc0d4ea13e96a435c017d98558c47 Signed-off-by: Sung-Jin Park --- 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 //