Revert "ecore_input: disable joystick feature in Mac OS" 44/117644/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 22 Feb 2017 09:00:53 +0000 (18:00 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 7 Mar 2017 04:53:31 +0000 (13:53 +0900)
This reverts commit bf13290fbcdc603f532cb2b01685e9f8a77e77e9.

Change-Id: I4c58c6031fbc7d20814664b9877592101fbdb126

configure.ac
src/lib/ecore_input/Ecore_Input.h
src/lib/ecore_input/ecore_input_joystick.c

index e52286c..aedbd2d 100755 (executable)
@@ -2777,13 +2777,9 @@ EFL_PLATFORM_DEPEND([ECORE_INPUT], [evil])
 EFL_INTERNAL_DEPEND_PKG([ECORE_INPUT], [ecore])
 EFL_INTERNAL_DEPEND_PKG([ECORE_INPUT], [eo])
 EFL_INTERNAL_DEPEND_PKG([ECORE_INPUT], [eina])
-PKG_CHECK_EXISTS([libudev],
-                 [have_ecore_udev="yes"],
-                 [have_ecore_udev="no"])
+
 if test "x${have_win32}" = "xno" ; then
-if test "${have_ecore_udev}" = "yes"; then
-    EFL_ADD_LIBS([ECORE_INPUT], [-ludev])
-fi
+       EFL_ADD_LIBS([ECORE_INPUT], [-ludev])
 fi
 
 ### Checks for header files
index ecc3054..7c8736f 100644 (file)
@@ -494,7 +494,6 @@ extern "C" {
    EAPI Ecore_Compose_State  ecore_compose_get(const Eina_List *seq, char **seqstr_ret);
 //TIZEN_ONLY(20160627) - Initial version of ecore joystick event
 #ifndef _WIN32
-#ifndef __APPLE__
    /**
     * Initializes the Ecore Input Joystick system.
     * @since 1.15
@@ -514,7 +513,6 @@ extern "C" {
     */
    EAPI int                  ecore_input_joystick_shutdown(void);
 #endif
-#endif
 //
 #ifdef __cplusplus
 }
index 76d4a73..3db1710 100644 (file)
@@ -1,5 +1,4 @@
 #ifndef _WIN32
-#ifndef __APPLE__
 #include <libudev.h>
 #include <stdio.h>
 #include <fcntl.h>
@@ -392,4 +391,3 @@ ecore_input_joystick_shutdown(void)
    return _ecore_input_joystick_init_count;
 }
 #endif
-#endif