commit | ad9f2c599ba6bb00eddc9794f41929e774eb61a0 | [log] [tgz] |
---|---|---|
author | Fabio Baltieri <fabiobaltieri@google.com> | Fri Jan 05 15:00:02 2024 +0000 |
committer | Alberto Escolar <alberto.escolar.piedras@nordicsemi.no> | Mon Mar 04 14:09:08 2024 +0100 |
tree | a937dcd4d43cc17b19921846f94c0ccb5aac5efb | |
parent | 1261745b2c19db453f9972018d031ab66a7827c8 [diff] |
input: kbd_matrix: skip column with empty mask The active key mask can be used for supporting multiple keyboard layouts with a single firmware. A possible use case is to support keyboard with or without a numpad, in which case an entire set of columns may be missing. Add a check to detect this condition and skip scanning that column entirely if no keys are defined in it. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>