ecore_input: disable joystick on Windows/MacOS 61/117661/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 23 Feb 2017 09:36:52 +0000 (18:36 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 7 Mar 2017 04:57:20 +0000 (13:57 +0900)
Change-Id: Ieb27e643f27817f8590404e86ff6a480b62c6ce7

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

index 5fc42f1..1ce7a98 100644 (file)
@@ -431,6 +431,8 @@ extern "C" {
           };
      };
 
+#ifndef _WIN32
+#ifndef __APPLE__
    /**
     * Initialises the Ecore Event system.
     *
@@ -515,6 +517,8 @@ extern "C" {
     * @since 1.19
     */
    EAPI int ecore_input_joystick_event_axis_deadzone_get(void);
+#endif
+#endif
 
 #ifdef __cplusplus
 }
index 4f2fd11..a650c82 100644 (file)
@@ -1,3 +1,5 @@
+#ifndef _WIN32
+#ifndef __APPLE__
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -621,3 +623,5 @@ ecore_input_joystick_event_axis_deadzone_get(void)
 {
    return _event_axis_deadzone;
 }
+#endif
+#endif