input: add input.conf file 72/286872/1 accepted/tizen/unified/20230118.172022
authorYunhee Seo <yuni.seo@samsung.com>
Mon, 16 Jan 2023 05:54:25 +0000 (14:54 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 16 Jan 2023 05:54:25 +0000 (14:54 +0900)
Add input.conf example file to control input device event
Input device event can be handled by device id number.
With this config file, user can set the input devices to use
Detailed descriptions are exist in this example file.

[InputDeivce] format which is in input.conf
InputDeviceType -> input device type
InputDeviceId -> id number which exist under the /sys/class/input/input(id) path
InputDeviceName -> device name
InputDeviceDefault -> yes/no

Change-Id: I06330bde9b4044cde96a6a0d5eac651af306950b
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
conf/input.conf [new file with mode: 0644]

diff --git a/conf/input.conf b/conf/input.conf
new file mode 100644 (file)
index 0000000..75f0f06
--- /dev/null
@@ -0,0 +1,37 @@
+# [InputDevice] - define input device information to control event
+#  InputDeviceType=string
+#   - define input device type to distinguish input devices.
+#     Available input device type - keyboard/mouse/custom_knob
+#  InputDeviceId=integer
+#   - define an integer to control input device event node.
+#     This id number is exist under the /sys/class/input/input(id) path.
+#  InputDeviceName=string
+#   - define input device name. Maximum name length is 32 include null character.
+#  InputDeviceDefault=string
+#   - define default input device. Value is "yes" or "no"
+#     Only one input device should be specified for each InputDeviceType.
+#     It's not allowed serveral default devices for a InputDeviceType.
+
+#[InputDevice]
+#InputDeviceType=custom_knob
+#InputDeviceId=6
+#InputDeviceName=input_knob_1
+#InputDeviceDefault=yes
+
+#[InputDevice]
+#InputDeviceType=custom_knob
+#InputDeviceId=3
+#InputDeviceName=input_knob_2
+#InputDeviceDefault=no
+
+#[InputDevice]
+#InputDeviceType=keyboard
+#InputDeviceId=4
+#InputDeviceName=keyboard1
+#InputDeviceDefault=yes
+
+#[InputDevice]
+#InputDeviceType=mouse
+#InputDeviceId=5
+#InputDeviceName=mouse1
+#InputDeviceDefault=yes
\ No newline at end of file