From: Yunhee Seo Date: Tue, 7 Feb 2023 09:25:56 +0000 (+0900) Subject: input: add DEVICE_INPUT_TYPE_TOUCHSCREEN enum type X-Git-Tag: accepted/tizen/unified/20230209.111255^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F287884%2F1;p=platform%2Fcore%2Fapi%2Fdevice.git input: add DEVICE_INPUT_TYPE_TOUCHSCREEN enum type Add DEVICE_INPUT_TYPE_TOUCHSCREEN type to support touchscreen input device. Change-Id: Ic1afd8a9da915ccca88ede857b59520a7b2f61d7 Signed-off-by: Yunhee Seo --- diff --git a/include/input-internal.h b/include/input-internal.h index 25b5e0a..c750f19 100644 --- a/include/input-internal.h +++ b/include/input-internal.h @@ -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; diff --git a/src/input-internal.c b/src/input-internal.c index 059ed4e..e4849d4 100644 --- a/src/input-internal.c +++ b/src/input-internal.c @@ -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: