openhab-addons/bundles/org.openhab.binding.linuxinput/src/main
Thomas Weißschuh 894668ffce
[linuxinput] handle keys not known by libevdev (#13632)
* [linuxinput] handle keys not known by libevdev

Previously if libevdev could not resolve a numeric event code to a
symbolic name the name "null" was used.
This is useless for the user and may lead to duplicate-channel errors if
multiple unknown keys are encountered.

Instead use the numeric code itself as channel name if no symbolic code
could be determined.

Reported-in: https://community.openhab.org/t/linuxinput-binding-and-mouse-capture/122612/8
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>

* [linuxinput] add channel description

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2022-11-01 14:06:58 +01:00
..
feature added migrated 2.x add-ons 2020-09-21 03:37:19 +02:00
java/org/openhab/binding/linuxinput/internal [linuxinput] handle keys not known by libevdev (#13632) 2022-11-01 14:06:58 +01:00
resources/OH-INF Add default translations for binding add-ons (#11760) 2021-12-15 18:40:21 +01:00