summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Yunhee Seo [Thu, 17 Oct 2024 01:34:53 +0000 (10:34 +0900)]
input: Add support of loading /etc/deviced/conf.d/input.conf for headless profile
As support plugin-backend implementation,
plugin-backend specific conf file should be located under the "/etc/deviced/conf.d".
To provide using headless profile specific input.conf,
this is necessary.
Change-Id: Ib1aa4cb725c8889fb83f47a3dd55723c7533ed11
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
Yunhee Seo [Mon, 29 Apr 2024 03:08:07 +0000 (12:08 +0900)]
deviced-input: Add a handling case for memory allocation failure
While parsing input event conf file, memory callocaion can fails.
However, free handling code was omitted in the allocation failed case.
To prevent memory leak, this is necessary.
Change-Id: I2d37d5d6e13f3bce6ef9e6541d0334bc45c0232c
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
Yunhee Seo [Fri, 12 Apr 2024 10:37:17 +0000 (19:37 +0900)]
input: Add mapping table for converting keycode string into value
Intuitively, to use the keycode of key/button definitions provided by
linux/input.h, deviced provides key_infos array.
key/button information is treated as a string and a number pair in key_infos array.
Those information will be handled in GHashTable.
While input.conf file is parsed, below structure is used
to pass GHashTable pointer.
struct input_parse_event_action {
struct input_event_unit *ieu;
GHashTable *hash_table_key_infos;
};
Rather than defining the keycode by itself, it is clearly unified into
the key/button definitions defined in linux/input.h
By doing this, the definition of keycode will not be changed or
their meanings mixed up.
Thus, existing below config definition will not be supported.
ex) keycode=power
keycode=bluetooth
It should be defined like below.
ex) keycode=KEY_POWER
keycode=KEY_BLUETOOTH
Detailed explanation is added to input conf file.
Also, please refer key_infos array or definitions in linux/input.h
Change-Id: I845c38046cfbd90596633e74e5e82e74340e1849
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
Chanwoo Choi [Thu, 14 Mar 2024 10:48:01 +0000 (19:48 +0900)]
Remove deprecated abi_version
Change-Id: Ie8ea057ab6417058a4b579a79ac0e2be435b471b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Youngjae Cho [Tue, 12 Sep 2023 02:19:10 +0000 (11:19 +0900)]
input: Remove _GET_/_SET_ from attribute name
Change-Id: Id9166369f3c2de81c7a5c9b4145ef35d1b98826c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Tue, 29 Aug 2023 04:14:08 +0000 (13:14 +0900)]
input: Fix strndup() size
The gcc-13 blame that the size of strndup() could exceed the source
size 64. Fix it to be confined to the source size.
Change-Id: I4eb3ce030ad5ed949d0175f7ea00229cc1419f82
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Chanwoo Choi [Fri, 18 Aug 2023 02:31:16 +0000 (11:31 +0900)]
input: Add SYSCOMMON_PLUGIN_MODULE_DEVICED_INPUT plugin-backend
Add SYSCOMMON_PLUGIN_MODULE_DEVICED_INPUT plugin-backend
for headless profile.
[Detailed description]
- package name :system-plugin-backend-deviced-headless-*.rpm
- files in package as following:
├── etc
│ └── deviced
│ ├── input.conf
│ └── power.conf
└── usr
├── bin
│ └── rndis.sh
├── lib
│ └── systemd
│ └── system
│ └── rndis.service
├── lib64
│ └── system
│ └── plugin
│ └── libplugin-backend-deviced-input.so
└── share
└── licenses
└── system-plugin-backend-deviced-headless
└── LICENSE.Apache-2.0
Change-Id: If7f8d589e6b8693c2685d3a1d418b67111ca9a04
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Tizen Infrastructure [Thu, 20 Apr 2023 02:35:08 +0000 (02:35 +0000)]
Initial empty repository