]> git.baikalelectronics.ru Git - kernel.git/commit
Input: tm2-touchkey - report scan codes
authorStephan Gerhold <stephan@gerhold.net>
Wed, 13 Oct 2021 11:23:04 +0000 (13:23 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 16 Oct 2021 03:26:30 +0000 (20:26 -0700)
commit83abbddc30af84e5c1b82b195af273c2a895fd83
tree1e2d370dd176dafb68e34f2d21fe8deb89ef9a5f
parent201bd9df4a8a5a2804c391861e559b6e0972b490
Input: tm2-touchkey - report scan codes

Report the index of pressed touch key as MSC_SCAN code to userspace
so it is possible to identify which of the keys was pressed (not
just the function that is currently assigned to the key).

This is done similarly also in mcs_touchkey and mpr121_touchkey.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20211013112305.41574-1-stephan@gerhold.net
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tm2-touchkey.c