e5f330c4 | 12-Nov-2015 |
Bin Meng <bmeng.cn@gmail.com> |
input: Ban digit numbers if 'Num Lock' is not on
When 'Num Lock' is not on, we should not send these digit numbers (0-9 and dot) to the output buffer.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> A
input: Ban digit numbers if 'Num Lock' is not on
When 'Num Lock' is not on, we should not send these digit numbers (0-9 and dot) to the output buffer.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
377a0696 | 12-Nov-2015 |
Bin Meng <bmeng.cn@gmail.com> |
input: Change LED state bits to conform i8042 compatible keyboard
When sending LED update command to an i8042 compatible keyboard, bit1 is 'Num Lock' and bit2 is 'Caps Lock' in the data byte. But in
input: Change LED state bits to conform i8042 compatible keyboard
When sending LED update command to an i8042 compatible keyboard, bit1 is 'Num Lock' and bit2 is 'Caps Lock' in the data byte. But input library defines bit1 as 'Caps Lock' and bit2 as 'Num Lock'. This causes a wrong LED to be set on an i8042 compatible keyboard. Change the LED state bits to be i8042 compatible, and change the keyboard flags as well.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
cd810918 | 12-Nov-2015 |
Bin Meng <bmeng.cn@gmail.com> |
input: Call keyboard's update_leds() method when the LEDs change
We should request keyboard to turn on/off its LED when detecting any changes on the LEDs.
Signed-off-by: Bin Meng <bmeng.cn@gmail.co
input: Call keyboard's update_leds() method when the LEDs change
We should request keyboard to turn on/off its LED when detecting any changes on the LEDs.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Minor changes to allow this to build without CONFIG_DM_KEYBOARD: Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
533c81a9 | 12-Nov-2015 |
Bin Meng <bmeng.cn@gmail.com> |
input: Save keyboard's LED state to correct place
Currently keyboard's LED state is wrongly saved to config->leds in process_modifier(). It should really be config->flags.
Signed-off-by: Bin Meng <
input: Save keyboard's LED state to correct place
Currently keyboard's LED state is wrongly saved to config->leds in process_modifier(). It should really be config->flags.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|