linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 10-dots braille keyboards
@ 2007-08-21  0:38 Samuel Thibault
  2007-09-05  4:34 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Thibault @ 2007-08-21  0:38 UTC (permalink / raw)
  To: linux-kernel, akpm; +Cc: linux-input

Hi,

Some braille keyboards have 10 dots, so extend the Input braille keys
definitions.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

diff --git a/include/linux/input.h b/include/linux/input.h
index e02c6a6..17df5a7 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -552,6 +552,8 @@ struct input_absinfo {
 #define KEY_BRL_DOT6		0x1f6
 #define KEY_BRL_DOT7		0x1f7
 #define KEY_BRL_DOT8		0x1f8
+#define KEY_BRL_DOT9		0x1f9
+#define KEY_BRL_DOT10		0x1fa
 
 /* We avoid low common keys in module aliases so they don't get huge. */
 #define KEY_MIN_INTERESTING	KEY_MUTE
diff --git a/include/linux/keyboard.h b/include/linux/keyboard.h
index de76843..7ddbc30 100644
--- a/include/linux/keyboard.h
+++ b/include/linux/keyboard.h
@@ -437,8 +437,10 @@ extern unsigned short plain_map[NR_KEYS];
 #define K_BRL_DOT6      K(KT_BRL, 6)
 #define K_BRL_DOT7      K(KT_BRL, 7)
 #define K_BRL_DOT8      K(KT_BRL, 8)
+#define K_BRL_DOT9      K(KT_BRL, 9)
+#define K_BRL_DOT10     K(KT_BRL, 10)
 
-#define NR_BRL		9
+#define NR_BRL		11
 
 #define MAX_DIACR	256
 #endif

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] 10-dots braille keyboards
  2007-08-21  0:38 [PATCH] 10-dots braille keyboards Samuel Thibault
@ 2007-09-05  4:34 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2007-09-05  4:34 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: linux-kernel, akpm, linux-input

On Monday 20 August 2007 20:38, Samuel Thibault wrote:
> Hi,
> 
> Some braille keyboards have 10 dots, so extend the Input braille keys
> definitions.
> 
> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
> 

Applied, thank you Samuel.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-05  4:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21  0:38 [PATCH] 10-dots braille keyboards Samuel Thibault
2007-09-05  4:34 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).