xref: /openbmc/u-boot/include/keyboard.h (revision 9ee16897)
1 #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 
17 extern int kbd_init (void);
18 extern void handle_scancode(unsigned char scancode);
19 extern int kbd_init_hw(void);
20 extern void pckbd_leds(unsigned char leds);
21 
22 #endif /* __KEYBOARD_H */
23