aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2018-08-22 18:38:37 +0900
committerHermet Park <hermetpark@gmail.com>2018-08-22 18:38:37 +0900
commita5ee487f035d5eeb7f5d686d475e134e1127a6c2 (patch)
treefa83f9cefbbe4990b2cba97ca36c3f4c627d9116 /src/examples
parentexamples: elementary: add more examples to build (diff)
downloadefl-a5ee487f035d5eeb7f5d686d475e134e1127a6c2.tar.gz
examples: ecore: add input_joystick example to build
Summary: While the source have been there it was never part of the build. Also fixed a warning of an unused parameter in the code. Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6890
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/ecore.mk2
-rw-r--r--src/examples/ecore/ecore_input_joystick_example.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/examples/ecore.mk b/src/examples/ecore.mk
index 0c1bedf96f..014cb4ef66 100644
--- a/src/examples/ecore.mk
+++ b/src/examples/ecore.mk
@@ -40,6 +40,7 @@ ecore/ecore_fd_handler_example \
ecore/ecore_file_download_example \
ecore/ecore_idler_example \
ecore/ecore_imf_example \
+ecore/ecore_input_joystick_example \
ecore/ecore_job_example \
ecore/ecore_poller_example \
ecore/ecore_promise2_example \
@@ -428,6 +429,7 @@ ecore/ecore_fd_handler_gnutls_example.c \
ecore/ecore_file_download_example.c \
ecore/ecore_idler_example.c \
ecore/ecore_imf_example.c \
+ecore/ecore_input_joystick_example.c \
ecore/ecore_job_example.c \
ecore/ecore_pipe_gstreamer_example.c \
ecore/ecore_pipe_simple_example.c \
diff --git a/src/examples/ecore/ecore_input_joystick_example.c b/src/examples/ecore/ecore_input_joystick_example.c
index a39f0659d4..990577a6a1 100644
--- a/src/examples/ecore/ecore_input_joystick_example.c
+++ b/src/examples/ecore/ecore_input_joystick_example.c
@@ -5,7 +5,7 @@
#include <Ecore_Input.h>
static Eina_Bool
-_joystick_event_handler_cb(void *data, int type EINA_UNUSED, void *event)
+_joystick_event_handler_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
printf("deadzone: %d\n", ecore_input_joystick_event_axis_deadzone_get());
Ecore_Event_Joystick *ev = event;