Holger Schurig wrote: > The i.MX21 SoC has a built-in keypad controller, which this driver > utilizes. As the keypad usually doesn't connect to a standard PC > keyboard, but to the keyboard of a PDA-like device, I wrote the > driver in a keyboard-layout agnostic way. > > Instead, the driver reports each row/column key press and release > via a platform-data supplied function. Board-specific code can than > decode the input events from this and submit them. IMO it would be better if board code would not provide "handle" function, but instead it would provide 'keyboard <-> input event' map structure/array. > See the comments at the top of drivers/input/keyboard/mxc_keypad.c > > Signed-off-by: Holger Schurig <hs4233@xxxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html