ecore_input: add API to get name of joystick.
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 13 Apr 2017 05:53:47 +0000 (14:53 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 13 Apr 2017 05:53:48 +0000 (14:53 +0900)
commit4f6873905be8f28971d5cf89bf395f6a4e6e7518
tree87638a70943f107785a665f1cb4b745a7b1ffbb7
parentb04f584346eb7415d7df6e9abfe6abc6477bebaf
ecore_input: add API to get name of joystick.

Summary:
The Ecore_Event_Joystick would be not enough information on user side.
Because the button index such as ECORE_EVENT_JOYSTICK_BUTTON_SELECT/START/META,
etc could be mapped to different button for different named joystick.

Test Plan: Using example

Reviewers: raster, cedric, jpeg

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D4669
src/examples/ecore/ecore_input_joystick_example.c
src/lib/ecore_input/Ecore_Input.h
src/lib/ecore_input/ecore_input_joystick.c