Skip to content
Commit ad9f2c59 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Alberto Escolar
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 1261745b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment