blob: 88ae12bc0f3491117467a5707085c00b0f625f11 [file] [log] [blame]
wdenk1c437712004-01-16 00:30:56 +00001#ifndef __KEYBOARD_H
2#define __KEYBOARD_H
3
4#ifdef CONFIG_PS2MULT
5#include <ps2mult.h>
6#endif
7
8#if !defined(kbd_request_region) || \
9 !defined(kbd_request_irq) || \
10 !defined(kbd_read_input) || \
11 !defined(kbd_read_status) || \
12 !defined(kbd_write_output) || \
13 !defined(kbd_write_command)
14#error PS/2 low level routines not defined
15#endif
16
17extern int kbd_init (void);
18extern void handle_scancode(unsigned char scancode);
19extern int kbd_init_hw(void);
20extern void pckbd_leds(unsigned char leds);
21
22#endif /* __KEYBOARD_H */