summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/q40_keyboard.h
blob: 9083bc1ec21510366621e1aaebe3e6fad4917f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 *  linux/include/asm-m68k/q40_keyboard.h
 *
 *  Created 
 */

/*
 *  This file contains the Q40 specific keyboard definitions
 */


#ifdef __KERNEL__


#include <asm/machdep.h>



extern int q40kbd_setkeycode(unsigned int scancode, unsigned int keycode);
extern int q40kbd_getkeycode(unsigned int scancode);
extern int q40kbd_pretranslate(unsigned char scancode, char raw_mode);
extern int q40kbd_translate(unsigned char scancode, unsigned char *keycode,
			   char raw_mode);
extern char q40kbd_unexpected_up(unsigned char keycode);
extern void q40kbd_leds(unsigned char leds);
extern int q40kbd_is_sysrq(unsigned char keycode);
extern void q40kbd_init_hw(void);
extern unsigned char q40kbd_sysrq_xlate[128];


#if 0
#define kbd_setkeycode		q40kbd_setkeycode
#define kbd_getkeycode		q40kbd_getkeycode
#define kbd_pretranslate	q40kbd_pretranslate
#define kbd_translate		q40kbd_translate
#define kbd_unexpected_up	q40kbd_unexpected_up
#define kbd_leds		q40kbd_leds
#define kbd_init_hw		q40kbd_init_hw
#define kbd_is_sysrq		q40kbd_is_sysrq
#define kbd_sysrq_xlate		q40kbd_sysrq_xlate


#define SYSRQ_KEY 0x54
#endif
#endif /* __KERNEL__ */