diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2007-10-11 00:49:56 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2007-10-11 00:49:56 -0400 |
commit | 1ea3abf7fbc39b3b543d7438159ba07b6411561c (patch) | |
tree | 12ad9753c20b1fbe7f55adc4ce0ae4d156ebfc00 /include/linux/keyboard.h | |
parent | 9a402b649d9c4f5ac17c1368702c9f51219c484b (diff) |
Input: keyboard - add CapsShift lock
There exists a CapsShift lock called KG_CAPSSHIFT, but no associated
lock/slock, here is a patch which adds CapsShift lock and slock.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/keyboard.h')
-rw-r--r-- | include/linux/keyboard.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/keyboard.h b/include/linux/keyboard.h index de76843bbe8a..f892b272f3ff 100644 --- a/include/linux/keyboard.h +++ b/include/linux/keyboard.h | |||
@@ -416,6 +416,7 @@ extern unsigned short plain_map[NR_KEYS]; | |||
416 | #define K_SHIFTRLOCK K(KT_LOCK,KG_SHIFTR) | 416 | #define K_SHIFTRLOCK K(KT_LOCK,KG_SHIFTR) |
417 | #define K_CTRLLLOCK K(KT_LOCK,KG_CTRLL) | 417 | #define K_CTRLLLOCK K(KT_LOCK,KG_CTRLL) |
418 | #define K_CTRLRLOCK K(KT_LOCK,KG_CTRLR) | 418 | #define K_CTRLRLOCK K(KT_LOCK,KG_CTRLR) |
419 | #define K_CAPSSHIFTLOCK K(KT_LOCK,KG_CAPSSHIFT) | ||
419 | 420 | ||
420 | #define K_SHIFT_SLOCK K(KT_SLOCK,KG_SHIFT) | 421 | #define K_SHIFT_SLOCK K(KT_SLOCK,KG_SHIFT) |
421 | #define K_CTRL_SLOCK K(KT_SLOCK,KG_CTRL) | 422 | #define K_CTRL_SLOCK K(KT_SLOCK,KG_CTRL) |
@@ -425,8 +426,9 @@ extern unsigned short plain_map[NR_KEYS]; | |||
425 | #define K_SHIFTR_SLOCK K(KT_SLOCK,KG_SHIFTR) | 426 | #define K_SHIFTR_SLOCK K(KT_SLOCK,KG_SHIFTR) |
426 | #define K_CTRLL_SLOCK K(KT_SLOCK,KG_CTRLL) | 427 | #define K_CTRLL_SLOCK K(KT_SLOCK,KG_CTRLL) |
427 | #define K_CTRLR_SLOCK K(KT_SLOCK,KG_CTRLR) | 428 | #define K_CTRLR_SLOCK K(KT_SLOCK,KG_CTRLR) |
429 | #define K_CAPSSHIFT_SLOCK K(KT_SLOCK,KG_CAPSSHIFT) | ||
428 | 430 | ||
429 | #define NR_LOCK 8 | 431 | #define NR_LOCK 9 |
430 | 432 | ||
431 | #define K_BRL_BLANK K(KT_BRL, 0) | 433 | #define K_BRL_BLANK K(KT_BRL, 0) |
432 | #define K_BRL_DOT1 K(KT_BRL, 1) | 434 | #define K_BRL_DOT1 K(KT_BRL, 1) |