diff options
Diffstat (limited to 'include/asm-sh/ec3104/keyboard.h')
-rw-r--r-- | include/asm-sh/ec3104/keyboard.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-sh/ec3104/keyboard.h b/include/asm-sh/ec3104/keyboard.h new file mode 100644 index 000000000000..0dee7b05b49d --- /dev/null +++ b/include/asm-sh/ec3104/keyboard.h | |||
@@ -0,0 +1,17 @@ | |||
1 | extern unsigned char ec3104_kbd_sysrq_xlate[]; | ||
2 | extern int ec3104_kbd_setkeycode(unsigned int scancode, unsigned int keycode); | ||
3 | extern int ec3104_kbd_getkeycode(unsigned int scancode); | ||
4 | extern int ec3104_kbd_translate(unsigned char, unsigned char *, char); | ||
5 | extern char ec3104_kbd_unexpected_up(unsigned char); | ||
6 | extern void ec3104_kbd_leds(unsigned char); | ||
7 | extern void ec3104_kbd_init_hw(void); | ||
8 | |||
9 | #define SYSRQ_KEY 0x54 | ||
10 | |||
11 | #define kbd_sysrq_xlate ec3104_kbd_sysrq_xlate | ||
12 | #define kbd_setkeycode ec3104_kbd_setkeycode | ||
13 | #define kbd_getkeycode ec3104_kbd_getkeycode | ||
14 | #define kbd_translate ec3104_kbd_translate | ||
15 | #define kbd_unexpected_up ec3104_kbd_unexpected_up | ||
16 | #define kbd_leds ec3104_kbd_leds | ||
17 | #define kbd_init_hw ec3104_kbd_init_hw | ||