platform/core/system/plugin/deviced-headless.git
14 months agoinput: Add mapping table for converting keycode string into value 04/309604/1 accepted/tizen/8.0/unified/20240424.172444
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>
15 months agoRemove deprecated abi_version 50/308050/1 accepted/tizen/8.0/unified/20240318.143209
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>
21 months agoinput: Remove _GET_/_SET_ from attribute name 29/298629/1 accepted/tizen/8.0/unified/20231005.093830 accepted/tizen/unified/20230913.091615 tizen_8.0_m2_release
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>
21 months agoinput: Fix strndup() size 43/297943/4 accepted/tizen_unified_riscv accepted/tizen/unified/riscv/20230829.104547
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>
21 months agoinput: Add SYSCOMMON_PLUGIN_MODULE_DEVICED_INPUT plugin-backend 15/297415/4 accepted/tizen/unified/20230821.162249
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>
2 years agoInitial empty repository
Tizen Infrastructure [Thu, 20 Apr 2023 02:35:08 +0000 (02:35 +0000)]
Initial empty repository