[DRIVER] seco: ectrl_stm32: align input events to managed events
Test details:
root@seco-sys-d18:~# evtest /dev/input/event0
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "seco_ectrl"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 62 (KEY_F4)
Event code 63 (KEY_F5)
Event code 64 (KEY_F6)
Event code 338 (?)
Event code 339 (?)
Event code 341 (?)
Event code 343 (?)
Properties:
Testing ... (interrupt to exit)
[ 39.778790] Embedded Controller: event name: PowerButton, code 338
[ 39.778790]
Event: time 1716209812.595937, type 1 (EV_KEY), code 338 (?), value 1
Event: time 1716209812.595937, -------------- SYN_REPORT ------------
Event: time 1716209812.596005, type 1 (EV_KEY), code 338 (?), value 0
Event: time 1716209812.596005, -------------- SYN_REPORT ------------
Edited by Gianfranco Mariotti