pre-2.3.4..
[davej-history.git] / include / asm-m68k / q40_keyboard.h
blob9083bc1ec21510366621e1aaebe3e6fad4917f50
1 /*
2 * linux/include/asm-m68k/q40_keyboard.h
4 * Created
5 */
7 /*
8 * This file contains the Q40 specific keyboard definitions
9 */
12 #ifdef __KERNEL__
15 #include <asm/machdep.h>
19 extern int q40kbd_setkeycode(unsigned int scancode, unsigned int keycode);
20 extern int q40kbd_getkeycode(unsigned int scancode);
21 extern int q40kbd_pretranslate(unsigned char scancode, char raw_mode);
22 extern int q40kbd_translate(unsigned char scancode, unsigned char *keycode,
23 char raw_mode);
24 extern char q40kbd_unexpected_up(unsigned char keycode);
25 extern void q40kbd_leds(unsigned char leds);
26 extern int q40kbd_is_sysrq(unsigned char keycode);
27 extern void q40kbd_init_hw(void);
28 extern unsigned char q40kbd_sysrq_xlate[128];
31 #if 0
32 #define kbd_setkeycode q40kbd_setkeycode
33 #define kbd_getkeycode q40kbd_getkeycode
34 #define kbd_pretranslate q40kbd_pretranslate
35 #define kbd_translate q40kbd_translate
36 #define kbd_unexpected_up q40kbd_unexpected_up
37 #define kbd_leds q40kbd_leds
38 #define kbd_init_hw q40kbd_init_hw
39 #define kbd_is_sysrq q40kbd_is_sysrq
40 #define kbd_sysrq_xlate q40kbd_sysrq_xlate
43 #define SYSRQ_KEY 0x54
44 #endif
45 #endif /* __KERNEL__ */