2 * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __TIZEN_UIX_GESTURE_COMMON_INTERNAL_H__
18 #define __TIZEN_UIX_GESTURE_COMMON_INTERNAL_H__
27 * @file gesture_common_internal.h
28 * @brief This file contains gesture's internal common struct info.
32 * @brief Enumeration for gesture hand type.
33 * @details If the HAND_GESTURE_NO_SELECTED_HAND is used, the system will consider with right hand
35 * @since_tizen @if WEARABLE 6.0 @endif
38 HAND_GESTURE_NO_SELECTED_HAND = 1, /**< Gesture with hand, no selected hand */
39 HAND_GESTURE_LEFT_HAND = 2, /**< Gesture with left hand */
40 HAND_GESTURE_RIGHT_HAND = 3, /**< Gesture with right hand */
41 } hand_gesture_handtype_e;
44 * @brief Enumeration for gesture movement.
45 * @details Determining whether to move the hand in one direction or back
47 * @since_tizen @if WEARABLE 6.0 @endif
51 HAND_GESTURE_WORK_MODE_ONE_WAY = 1, /**< move the hand in one direction */
52 HAND_GESTURE_WORK_MODE_ROUND_TRIP = 2, /**< move the hand in round trip */
53 HAND_GESTURE_WORK_MODE_MIXED = 3, /**< move the hand in mixed */
54 HAND_GESTURE_WORK_MODE_UNDEFINED = 4, /**< move the hand in undefined */
55 } hand_gesture_workmode_e;
58 * @brief Enumeration for gesture event types.
59 * @details With regards to type of the gesture, gesture_get_event() returns one of the followings.
60 * @since_tizen @if WEARABLE 6.0 @endif
63 HAND_GESTURE_EVENT_NONE = 1, /**< Detected nothing */
64 HAND_GESTURE_EVENT_DETECTED = 2, /**< Detected the gesture */
65 HAND_GESTURE_HAND_MOVE_RIGHT = 3, /**< move right detected (only for HAND_GESTURE_LEFT_HAND_MOVE or HAND_GESTURE_RIGHT_HAND_MOVE) */
66 HAND_GESTURE_HAND_MOVE_LEFT = 4, /**< move left detected (only for HAND_GESTURE_LEFT_HAND_MOVE or HAND_GESTURE_RIGHT_HAND_MOVE) */
67 HAND_GESTURE_HAND_MOVE_UP = 5, /**< move up detected (only for HAND_GESTURE_LEFT_HAND_MOVE or HAND_GESTURE_RIGHT_HAND_MOVE) */
68 HAND_GESTURE_HAND_MOVE_DOWN = 6, /**< move down detected (only for HAND_GESTURE_LEFT_HAND_MOVE or HAND_GESTURE_RIGHT_HAND_MOVE) */
69 HAND_GESTURE_HAND_MOVE_PUSH = 7, /**< move push detected (only for HAND_GESTURE_LEFT_HAND_MOVE or HAND_GESTURE_RIGHT_HAND_MOVE) */
70 } hand_gesture_event_e;
77 #endif /* __TIZEN_UIX_GESTURE_COMMON_INTERNAL_H__ */