ecore_input: add ECORE_AXIS_LABEL_TOUCH_PALM enum
authorSung-Jin Park <sj76.park@samsung.com>
Wed, 17 May 2017 00:44:35 +0000 (09:44 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 17 May 2017 01:39:43 +0000 (10:39 +0900)
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

src/lib/ecore_input/Ecore_Input.h

index c701301..8139f56 100644 (file)
@@ -334,6 +334,7 @@ extern "C" {
         ECORE_AXIS_LABEL_WINDOW_Y,      /**< Y coordinate mapped to the window. @since 1.19 */
         ECORE_AXIS_LABEL_NORMAL_X,      /**< X normalized to the [0, 1] range. @since 1.19 */
         ECORE_AXIS_LABEL_NORMAL_Y,      /**< Y normalized to the [0, 1] range. @since 1.19 */
+        ECORE_AXIS_LABEL_TOUCH_PALM,    /**< Size of palm contact. Range: Unbounded. Unit: undefined. May be a boolean or a distance value, depending on the underlying H/W. @since 1.20 */
    } Ecore_Axis_Label; /**< @since 1.13 */
 
    struct _Ecore_Axis