From f603001367d3c45a24a19cf098c7d8c70f92b93d Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Wed, 17 May 2017 09:44:35 +0900 Subject: [PATCH] ecore_input: add ECORE_AXIS_LABEL_TOUCH_PALM enum 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ecore_input/Ecore_Input.h b/src/lib/ecore_input/Ecore_Input.h index c701301..8139f56 100644 --- a/src/lib/ecore_input/Ecore_Input.h +++ b/src/lib/ecore_input/Ecore_Input.h @@ -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 -- 2.7.4