2 * linux/include/asm-m68k/q40_keyboard.h
8 * This file contains the Q40 specific keyboard definitions
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
,
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];
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
45 #endif /* __KERNEL__ */