summaryrefslogtreecommitdiff
path: root/src/lib/ecore_input (follow)
AgeCommit message (Collapse)Author
2017-07-17ecore joystick: Use const char * in API, not slstrJean-Philippe Andre
The API eina_slstr_ is meant to look just like const strings, wihch means here there could instead be an internal struct holding the name, and the API would behave the same. Note: This API is new in 1.20
2017-07-11ecore_input: fix build without eezeRomain Naour
A dependency on HAVE_EEZE is missing in ecore_input_joystick_name_get(): lib/ecore_input/ecore_input_joystick.c: Dans la fonction « ecore_input_joystick_name_get »: lib/ecore_input/ecore_input_joystick.c:632:4: erreur : unknown type name « Joystick_Info » Joystick_Info *ji; ^~~~~~~~~~~~~ Fixes T5665 Signed-off-by: Romain Naour <romain.naour@smile.fr>
2017-05-17ecore_input: add ECORE_AXIS_LABEL_TOUCH_PALM enumSung-Jin Park
Summary: Some of latest touchscreen devices can report if the tool in contact is the palm of your hand and there is no axis label for this palm flag. This adds ECORE_AXIS_LABEL_TOUCH_PALM enum as Ecore_Axis_Label type. Test Plan: N/A Reviewers: raster, cedric, jpeg, jypark, devilhorns, ManMower Reviewed By: jpeg Subscribers: JHyun Differential Revision: https://phab.enlightenment.org/D4848
2017-05-09ecore_input: suppress warning (unused parameter)Jean Guyomarc'h
2017-04-13ecore_input: add API to get name of joystick.Shinwoo Kim
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
2017-03-09ecore_input: avoid crash during shutdown due to Ecore_Event queue.Cedric BAIL
2017-02-15doxygen: fix typos and some wrong expressions in API reference.Myoungwoon Roy, Kim
Summary: I had fixed some typos and some wrong expressions, such as capital letters, singular, and orders of groups in API reference doxygen. Test Plan: Doxygen revision Reviewers: stefan, cedric, raster, Jaehyun_Cho, jpeg Subscribers: conr2d Differential Revision: https://phab.enlightenment.org/D4658 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-02-15ecore_input: add API to set/get deadzone of joystick event for an axis.Shinwoo Kim
Summary: The axis type joystick event could occur without user's control if joystick is too sensitive. The deadzone prevents this unnecessary event. The default value is 200. The event value for an axis is a signed integer between -32767 and +32767. Test Plan: Using example Reviewers: raster, cedric, jpeg Reviewed By: jpeg Subscribers: stefan_schmidt Differential Revision: https://phab.enlightenment.org/D4654
2017-02-03cmake: add ecore_inputMarcel Hollerbach
2017-02-01ecore_input: support Xbox One joystickShinwoo Kim
Add joystick mapper for Microsoft X-Box One pad (Covert Forces)
2017-01-25ecore_input: support PS4 joystickShinwoo Kim
Add joystick mapper for Sony Computer Entertainment Wireless Controller
2016-09-26Ecore_Input: Add Efl_Input_Device in Ecore_Events structs.Guilherme Iscaro
The Efl_Input_Device will contain the device which originated the event, this will be useful for dealing with multi-seat environment. When the device is NULL it means that the event originated from the default seat.
2016-08-26evas: Add normalized and window coordinates to axis eventsJean-Philippe Andre
This is for Wacom graphics tablets (with a pen). The raw data sent by ecore to evas (and then to apps) is pretty useless as it's not normalized, and apps have no way of knowing the dimensions of the tablet, without themselves opening the device (we don't know nor expose the path to the device). This is for Xi2 only for now, as Wayland support hasn't been done yet. The intent is to deprecate LABEL_X and LABEL_Y. I'm not sure yet if the normalized value is useful or not (it would seem we may not be able to provide this info in Wayland). The new WINDOW_X, WINDOW_Y labels will be used in the new event type (Efl.Event.Pointer). Normalized values are not exposed yet, let's decide if we want them or not first (based on what can be done in Wayland space). @feature
2016-06-30ecore-input: Check return fo ecore_main_fd_handler_fd_getChris Michael
This patch fixes 2 coverity Error handling issues. ecore_main_fd_handler_fd_get can return a negative fd on error so we should be checking that return before trying to make use of the fd. Fixes Coverity CID1356632 and CID1356624 @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-13Ecore_Input: define data type for joysticksShinwoo Kim
Summary: This adds support for joysticks for ecore_input Reviewers: cedric, devilhorns, Sergeant_Whitespace, raster, thiepha, zmike, jpeg Reviewed By: thiepha, zmike, jpeg Subscribers: thiepha, stefan_schmidt, zmike, singh.amitesh, Sergeant_Whitespace, jgerecke, cedric, seoz Tags: #efl Differential Revision: https://phab.enlightenment.org/D1538
2016-03-03ecore-input: Fix spelling errors in commentsDerek Foreman
This small patch just fixes up some spelling errors in comments. No functional changes. Reviewers: zmike, devilhorns Reviewed By: devilhorns Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3753
2015-06-30ecore: Fix typo in since tag.Amitesh Singh
2015-06-29Revert "ecore-input: add keysym to Ecore_Event_Key struct"Mike Blumenkrantz
This reverts commit c3f3c4eba80f0a7f388de608f2b1566213e73603. this was audited and found to be impractical due to portability concerns
2015-06-16 Ecore_input: Add "ECORE_EVENT_MOUSE_BUTTON_CANCEL" eventJi-Youn Park
If ecore get the mouse cancel event(ex: display off, or window stack change) from below, we need to deal with. Currently, evas also generates up event using evas_event_feed_mouse_cancel function when window hide is called. if cancel event occurs, ecore also call evas_event_mouse_feed_cancel like window hide situation. cancel event means all button or touch event should be canceled, but in the future, if we need to deal each cancel event according to touch point, we need to add api like evas_event_feed_multi_cancel @feature
2015-05-20ecore-input: add keysym to Ecore_Event_Key structMike Blumenkrantz
currently only functional for x11, wl, drm @feature
2015-05-07ecore: remove the need to order the header correctly for Windows.Cedric BAIL
2014-11-25Expose device (e.g. pen) axis information to applicationsJason Gerecke
Summary: This patch set adds the necessary code to expose device axis state to applications. This was primarily written with graphics tablets in mind, which -- in addition to acting like a mouse -- also provide information about pen pressure, tilt, etc. Other devices could potentially benefit from this API as well: touchscreens, joysticks, knob controllers, "spaceballs", etc. Whenever an update to the device state is recieved, an "Axis update" event is synthesized. This event contains the updated information, typically scaled and normalized to a particular logical range (e.g. zero to one for pressure, -pi to pi radians for angles, etc.). Information about the tool which generated the event is also stored so that applications can disambiguate events from multiple devices (or in the case of multitouch screens, individual fingers). This API is only wired up for use with X11 at the moment. Support for other backends (e.g. Wayland) should be easy to add for those familiar them. **Note**: The following is a list of changes from the "v2" patches originally sent to the mailinglist //Define and implement new Ecore_Event_Axis_Update events// * Harcode axis labels instead of including xserver-properties.h * Use C89-style comments * Use doxygen comments * Update comment text to note axes with unbounded/undefined ranges/units * Create "Ecore_Axis" and "Ecore_Axis_Label" typedefs * Reference typedef'd instead of raw types * Adjust how we count through valuators to support tilt/az * Add support for tilt and azimuth * Tweak memory management in case number of valuators differ * Expand TWIST axis normalization to declared range * Only normalize TWIST axis if resolution == 1 (wacom bug) * Cache label atoms on first use to minimize round-trips //Implement EVAS_CALLBACK_AXIS_UPDATE event and friends// * Update to doxygen comments * Update comment text to note axes with unbounded/undefined ranges/units * Typedef 'Evas_Axis_Label', 'Evas_Axis' * Move typedef for 'Evas_Event_Axis_Update' * Reference typedef'd instead of raw types //Wire the Ecore and Evas implementations of axis update events together// * Expose ecore_event_evas_axis_update in Ecore_Input_Evas.h * Move ecore_event_evas_axis_update to more logical position //DEBUG: Add axis update logging to evas-multi-touch.c// * Removed from patch set //Make evas-multi-touch demo use new axis functionality// * Have pressure adjust rectangle brightness instead of size * Use more available axis data when rendering rectangle (azimuth, tilt, twist) Test Plan: The evas-multi-touch demo was updated to support axis update events. A graphics tablet was then used to verify that the pressure, azimuth, tilt, and twist data was coming through correctly. Reviewers: cedric, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1514 Conflicts: src/lib/ecore_input/Ecore_Input.h Carsten Haitzler - ** fixed forward enum typedefs (make things unhappy) ** fixed conflict above ** fixed wrong param type for _evas_canvas_event_feed_axis_update() ** fixed @sinces to be 1.13 ** fixed formatting/indeting ** fixed order of operation reliance in if's with ()'s to be clear ** fixed functions to be static that should have been
2014-10-21[ecore_input] fix build break - the semicolonShinwoo Kim
2014-10-20ecore_input: update missing Ecore_Input.h API documentation.Pierre Le Magourou
2014-04-14Fixed a problem with e wl server that sent invalid key value to wl client.Gwanglim Lee
Summary: This problem occurred due to xkb_keysym_t value of libxkbcommon by e wl server. e wl server should pass keycode from evdev input device on to wl client. In order that e wl server receives valid keycode Ecore_Event_Key should have an extended data member. This patch should be applied with server side patch. @fix Test Plan: run e wl server -> create wl client -> type keys Reviewers: raster, devilhorns, zmike CC: cedric Differential Revision: https://phab.enlightenment.org/D712
2013-12-26efl: Unified eina critical manro to CRI.Daniel Juyung Seo
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
2013-09-04ecore-input - compose seq handler now uses compact str - saves about 100kCarsten Haitzler (Rasterman)
2013-01-16efl/ecore_input: Move file instead. As requested by k-sStefan Schmidt
SVN revision: 82876
2013-01-15move ecore_input_evas out of ecore_input.Gustavo Sverzut Barbieri
we don't need this mess anymore :-P SVN revision: 82836
2013-01-10efl: forward typedef to avoid including useless headers.Gustavo Sverzut Barbieri
do not include Ecore_Input.h just to get Ecore_Window and Ecore_Getopt to get handful typedefs. NOTE: why do we have the #ifdefs around these predefs? At least GCC does not warn if we typedef twice the same thing (if they are identical) SVN revision: 82499
2012-12-02merge: add escape ecore, fix several bugsVincent Torri
SVN revision: 79995