Hi Sascha,
On Wed, Jan 13, 2016 at 4:50 PM, Sascha Hauer wrote:
> Hi Yegor,
>
> On Tue, Jan 12, 2016 at 11:16:38AM +0100, yegorsli...@googlemail.com wrote:
>> + * Compare node names using the length of the node in question
>> + * and then check, if the in-tree node has '@' as next character.
>> +
Hi Yegor,
On Tue, Jan 12, 2016 at 11:16:38AM +0100, yegorsli...@googlemail.com wrote:
> + * Compare node names using the length of the node in question
> + * and then check, if the in-tree node has '@' as next character.
> + * This way both short names like 'name' and full like 'name@1' will
> + *
Conert the USB keyboard over to the new input core as a first user.
Signed-off-by: Sascha Hauer
---
drivers/input/Kconfig | 1 +
drivers/input/usb_kbd.c | 296 +---
2 files changed, 55 insertions(+), 242 deletions(-)
diff --git a/drivers/input/Kco
This series adds an input driver core and ports some input driver over
to it.
Currently the input drivers are written as console drivers. The problem
with this is that we can only generate a character when a key is
pressed, but we can't ask for the current state of a key. One very
common usecase f
When converting keys to ascii for the console we also need the
keymap with shift pressed.
Signed-off-by: Sascha Hauer
---
drivers/input/keymap.c | 82
include/input/keyboard.h | 1 +
2 files changed, 83 insertions(+)
diff --git a/drivers/input
Add some previously undefined keys.
Signed-off-by: Sascha Hauer
---
drivers/input/keymap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/input/keymap.c b/drivers/input/keymap.c
index fdc04f7..73dd112 100644
--- a/drivers/input/keymap.c
+++ b/drivers/input/keym
We do not need these keys and they do not produce a usable result
either.
Signed-off-by: Sascha Hauer
---
drivers/input/keymap.c | 49 -
1 file changed, 49 deletions(-)
diff --git a/drivers/input/keymap.c b/drivers/input/keymap.c
index eb3d4cf..2e
The gpio-keys driver takes ascii key codes from platform_data and Linux
keycodes from device tree. Convert the ascii keys over to Linux
keycodes to get rid of the special cases in the driver.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/archosg9/board.c| 5 +++--
arch/arm/boards/at91
To make it possible to ask for the button state.
Signed-off-by: Sascha Hauer
---
drivers/input/Kconfig | 1 +
drivers/input/imx_keypad.c | 55 ++
2 files changed, 13 insertions(+), 43 deletions(-)
diff --git a/drivers/input/Kconfig b/drivers/inp
Currently all input driver register themselves as consoles. Consoles are
fine for typing text, but they do not allow to ask for the current
pressed state of buttons or keypads. They also do not support non
printable keys like the function keys.
This patch adds a simple input core. On the driver si
The async poller does not work as expected since it can happen that
the async poller is removed from the list of pollers while we are
iterating over the list. Even list_for_each_entry_safe does not help
here since we may remove the next list element, but
list_for_each_entry_safe only allows to remo
driver should use dev_* rather than pr_*
Signed-off-by: Sascha Hauer
---
drivers/input/imx_keypad.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/input/imx_keypad.c b/drivers/input/imx_keypad.c
index 331eadd..272b836 100644
--- a/drivers/input/imx_keypad
Allow to use the number keypad keys.
Signed-off-by: Sascha Hauer
---
drivers/input/keymap.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers/input/keymap.c b/drivers/input/keymap.c
index 2e603f4..fdc04f7 100644
--- a/drivers/input/key
To allow asking for the button states.
Signed-off-by: Sascha Hauer
---
drivers/input/gpio_keys.c | 64 +--
1 file changed, 17 insertions(+), 47 deletions(-)
diff --git a/drivers/input/gpio_keys.c b/drivers/input/gpio_keys.c
index acb9e07..38c0f11 1006
The preparations are done in previous patches, now we only have
to add the device tree compatible and drio the check for platform_data.
Signed-off-by: Sascha Hauer
---
drivers/input/imx_keypad.c | 34 --
1 file changed, 20 insertions(+), 14 deletions(-)
diff --gi
Future additions will make the function too big to live as a static
inline function. Move to a C file and while at it, move matrix_keypad.h
to include/input/ where it belongs to.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/include/mach/devices.h | 2 +-
drivers/input/Kconfig
Add support for parsing the "linux,keymap" property.
Signed-off-by: Sascha Hauer
---
drivers/input/imx_keypad.c| 4 +++-
drivers/input/matrix-keymap.c | 49 ++-
include/input/matrix_keypad.h | 6 +++---
3 files changed, 54 insertions(+), 5 deletions(
KEY_LEFTBRACE is the '[' key on an english keyboard and KEY_RIGHTBRACE
is the ']' key.
Signed-off-by: Sascha Hauer
---
drivers/input/keymap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/input/keymap.c b/drivers/input/keymap.c
index b9fd6a2..eb3d4cf 100644
---
18 matches
Mail list logo