input: add DEVICE_INPUT_TYPE_TOUCHSCREEN enum type 84/287884/1 accepted/tizen/unified/20230209.111255
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 7 Feb 2023 09:25:56 +0000 (18:25 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Tue, 7 Feb 2023 09:25:56 +0000 (18:25 +0900)
Add DEVICE_INPUT_TYPE_TOUCHSCREEN type to support touchscreen input device.

Change-Id: Ic1afd8a9da915ccca88ede857b59520a7b2f61d7
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
include/input-internal.h
src/input-internal.c

index 25b5e0a..c750f19 100644 (file)
@@ -35,6 +35,7 @@ typedef enum
        DEVICE_INPUT_TYPE_ALL, /**< Input device type which is all kinds of input devices */
        DEVICE_INPUT_TYPE_MOUSE, /**< Input device type which is mouse-type */
        DEVICE_INPUT_TYPE_KEYBOARD, /**< Input device type which is keyboard-type */
+       DEVICE_INPUT_TYPE_TOUCHSCREEN, /**< Input device type which is touchscreen-type */
 
        DEVICE_INPUT_TYPE_CUSTOM_KNOB = 1000, /**< Input device type which is customed knob-type */
 } device_input_type_e;
index 059ed4e..e4849d4 100644 (file)
@@ -37,6 +37,7 @@ static bool input_is_supported_input_type(device_input_type_e input_device_type)
        case DEVICE_INPUT_TYPE_ALL:
        case DEVICE_INPUT_TYPE_MOUSE:
        case DEVICE_INPUT_TYPE_KEYBOARD:
+       case DEVICE_INPUT_TYPE_TOUCHSCREEN:
        case DEVICE_INPUT_TYPE_CUSTOM_KNOB:
                break;
        default: