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-17 02:17:14 +0000 |
commit | 95e5c891a38c528b042c009ad366754d6429a832 (patch) | |
tree | 2c1b8ed777c057c45bbfa0ec42ceb84ee1b7a7b5 | |
parent | d30bc71df8c92b42e24d5f237f607345425ebf2d (diff) | |
download | device-rpi-95e5c891a38c528b042c009ad366754d6429a832.tar.gz device-rpi-95e5c891a38c528b042c009ad366754d6429a832.tar.bz2 device-rpi-95e5c891a38c528b042c009ad366754d6429a832.zip |
input: add input.conf fileaccepted/tizen/7.0/unified/20230118.093746
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>
(cherry picked from commit 9e35572af471ce04ef2c70cc1b9598ba50910f00)
-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 |