diff options
author | Yunhee Seo <yuni.seo@samsung.com> | 2023-01-16 14:54:25 +0900 |
---|---|---|
committer | Yunhee Seo <yuni.seo@samsung.com> | 2023-01-16 14:54:25 +0900 |
commit | 9e35572af471ce04ef2c70cc1b9598ba50910f00 (patch) | |
tree | a956b5a83c30e4ad177e89719fda565b2bfbc598 | |
parent | 67bc9d74cb5d2763a89983ea8e0cc993fab45cb0 (diff) | |
download | device-rpi-9e35572af471ce04ef2c70cc1b9598ba50910f00.tar.gz device-rpi-9e35572af471ce04ef2c70cc1b9598ba50910f00.tar.bz2 device-rpi-9e35572af471ce04ef2c70cc1b9598ba50910f00.zip |
input: add input.conf fileaccepted/tizen/unified/20230118.172022
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>
-rw-r--r-- | conf/input.conf | 37 |
1 files changed, 37 insertions, 0 deletions
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 |