From: Yunhee Seo Date: Mon, 16 Jan 2023 05:54:25 +0000 (+0900) Subject: input: add input.conf file X-Git-Tag: accepted/tizen/7.0/unified/20230118.093746^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95e5c891a38c528b042c009ad366754d6429a832;p=platform%2Fhal%2Fbackend%2Frpi%2Fdevice-rpi.git input: add input.conf file 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 (cherry picked from commit 9e35572af471ce04ef2c70cc1b9598ba50910f00) --- diff --git a/conf/input.conf b/conf/input.conf new file mode 100644 index 0000000..75f0f06 --- /dev/null +++ b/conf/input.conf @@ -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