ecore_input: deprecate joystick_init/shutdown API 62/117662/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 23 Feb 2017 08:52:46 +0000 (17:52 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 7 Mar 2017 05:08:47 +0000 (14:08 +0900)
These APIs is deprecated.
The ecore_input_joystick_init/shutdown is called by default in ecore_event_init/shutdown.

Change-Id: Id2f32398ff32cb37b3c1a18cc75318ddf02c7ec5

src/lib/ecore_input/Ecore_Input.h

index 1ce7a98..c8f7fb8 100644 (file)
@@ -497,6 +497,33 @@ extern "C" {
     */
    EAPI Ecore_Compose_State  ecore_compose_get(const Eina_List *seq, char **seqstr_ret);
 
+   //TIZEN_ONLY(20170307) Deprecate ecore_input_joystick_init/shutdown API
+   /**
+    * Initializes the Ecore Input Joystick system.
+    * @since 1.15
+    *
+    * @if MOBILE @since_tizen 2.4
+    * @elseif WEARABLE @since_tizen 3.0
+    * @endif
+    *
+    * @deprecated Deprecated since Tizen 4.0
+    * ecore_event_init calls this by default
+    */
+   EINA_DEPRECATED EAPI int                  ecore_input_joystick_init(void);
+   /**
+    * Shutdowns the Ecore Input Joystick system.
+    * @since 1.15
+    *
+    * @if MOBILE @since_tizen 2.4
+    * @elseif WEARABLE @since_tizen 3.0
+    * @endif
+    *
+    * @deprecated Deprecated since Tizen 4.0
+    * ecore_event_shutdown calls this by default
+    */
+    EINA_DEPRECATED EAPI int                  ecore_input_joystick_shutdown(void);
+   //
+
    /**
     * Set deadzone of joystick event for an axis.
     *