input: add input config file parsing code for touchscreen 94/287894/1 accepted/tizen/7.0/unified/20230209.070244
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 7 Feb 2023 09:28:18 +0000 (18:28 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Tue, 7 Feb 2023 09:57:15 +0000 (18:57 +0900)
Add input config file parsing code for touchscreen input type.

Change-Id: I6b9623760e082ea33b86fa0e4c4eaf3d429a2b38
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/input/input-parser.c

index 6fa81db..7ce482c 100644 (file)
@@ -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