linux-xiaomi-chiron/drivers/input/keyboard
Chao Xie c5ec1948ea Input: pxa27x-keypad - fix generating scancode
The number of columns of pxa27x-keypad used by various boards is not fixed.
When building keymap with call to:

matrix_keypad_build_keymap(keymap_data, NULL,
                           pdata->matrix_key_rows,
                           pdata->matrix_key_cols,
                           keypad->keycodes, input_dev);

it will internally calculate needed row shift and use it to fill the
keymap. Therefore when calculating the "scancode" we should no longer use
constant row shift but also calculate it from number of columns.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-05-13 23:12:44 -07:00
..
adp5520-keys.c
adp5588-keys.c
adp5589-keys.c
amikbd.c
atakbd.c
atkbd.c Input: atkbd - fix keyboard not working on some LG laptops 2014-04-24 23:32:33 -07:00
bf54x-keys.c
clps711x-keypad.c
cros_ec_keyb.c
davinci_keyscan.c
ep93xx_keypad.c
goldfish_events.c
gpio_keys.c
gpio_keys_polled.c
hil_kbd.c
hilkbd.c
hpps2atkbd.h
imx_keypad.c
jornada680_kbd.c
jornada720_kbd.c
Kconfig Input: fix ps2/serio module dependency 2014-05-12 12:33:52 -07:00
lkkbd.c
lm8323.c
lm8333.c
locomokbd.c
lpc32xx-keys.c
Makefile
maple_keyb.c
matrix_keypad.c
max7359_keypad.c
mcs_touchkey.c
mpr121_touchkey.c
newtonkbd.c
nomadik-ske-keypad.c
nspire-keypad.c
omap-keypad.c
omap4-keypad.c
opencores-kbd.c
pmic8xxx-keypad.c Input: pmic8xxx-keypad - migrate to DT 2014-03-30 13:25:19 -07:00
pxa27x_keypad.c Input: pxa27x-keypad - fix generating scancode 2014-05-13 23:12:44 -07:00
pxa930_rotary.c
qt1070.c
qt2160.c
samsung-keypad.c
sh_keysc.c
spear-keyboard.c
stmpe-keypad.c
stowaway.c
sunkbd.c
tc3589x-keypad.c
tca6416-keypad.c
tca8418_keypad.c Input: tca8418 - fix loading this driver as a module from a device tree 2014-04-24 23:53:14 -07:00
tegra-kbc.c
twl4030_keypad.c
w90p910_keypad.c
xtkbd.c