From: Yunhee Seo Date: Tue, 7 Feb 2023 09:28:18 +0000 (+0900) Subject: input: add input config file parsing code for touchscreen X-Git-Tag: accepted/tizen/7.0/unified/20230209.070244^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=509dd86d946a44f4ca482dd204edf1eb07186601;p=platform%2Fcore%2Fsystem%2Fdeviced.git input: add input config file parsing code for touchscreen Add input config file parsing code for touchscreen input type. Change-Id: I6b9623760e082ea33b86fa0e4c4eaf3d429a2b38 Signed-off-by: Yunhee Seo --- diff --git a/src/input/input-parser.c b/src/input/input-parser.c index 6fa81db..7ce482c 100644 --- a/src/input/input-parser.c +++ b/src/input/input-parser.c @@ -70,6 +70,8 @@ static int parse_input_device_property(gpointer data, gpointer user_data) input_dev_info->input_device_type = (int)HAL_DEVICE_INPUT_TYPE_MOUSE; else if (MATCH(prop->value, "keyboard")) input_dev_info->input_device_type = (int)HAL_DEVICE_INPUT_TYPE_KEYBOARD; + else if (MATCH(prop->value, "touchscreen")) + input_dev_info->input_device_type = (int)HAL_DEVICE_INPUT_TYPE_TOUCHSCREEN; else if (MATCH(prop->value, "custom_knob")) input_dev_info->input_device_type = (int)HAL_DEVICE_INPUT_TYPE_CUSTOM_KNOB; else