Skip to contentSkip to conversation

classmate-laptop: Added some keys present in other devices

PATCH Applied Thadeu Lima de Souza Cascardo 2 participants 3 messages Feb 26, 2010 – Mar 1, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 classmate-laptop: Added some keys present in other devices

Some new devices have extra keys, which we add to our list. Currently, they all generate events that allow us to use a simple table/array, without need for the sparse keymap.

---
 drivers/platform/x86/classmate-laptop.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/platform/x86/classmate-laptop.c +4 -0
index e315019..9bdd269 100644
@@ -508,6 +508,10 @@ static int cmpc_keys_codes[] = {
 	KEY_BRIGHTNESSDOWN,
 	KEY_BRIGHTNESSUP,
 	KEY_VENDOR,
+	KEY_UNKNOWN,
+	KEY_CAMERA,
+	KEY_BACK,
+	KEY_FORWARD,
 	KEY_MAX
 };
 
Signature · 1 line
1.6.6.1
#1 lore raw

Matthew,

Can you merge this one, please? It's not in your tree.

Regards,
Cascardo.

Quoted 27 lines · Thadeu Lima de Souza Cascardo

Some new devices have extra keys, which we add to our list. Currently, they all generate events that allow us to use a simple table/array, without need for the sparse keymap.

---
 drivers/platform/x86/classmate-laptop.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/platform/x86/classmate-laptop.c +4 -0
index e315019..9bdd269 100644
@@ -508,6 +508,10 @@ static int cmpc_keys_codes[] = {
 	KEY_BRIGHTNESSDOWN,
 	KEY_BRIGHTNESSUP,
 	KEY_VENDOR,
+	KEY_UNKNOWN,
+	KEY_CAMERA,
+	KEY_BACK,
+	KEY_FORWARD,
 	KEY_MAX
 };
 
Signature · 1 line
1.6.6.1
#2 lore raw
Quoted 1 line · Thadeu Lima de Souza Cascardo

Can you merge this one, please? It's not in your tree.

Applied, thanks.

Signature · 1 line
Matthew Garrett | [email protected]