Rev 2089 | Rev 4092 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2089 | Rev 4042 | ||
|---|---|---|---|
| Line 31... | Line 31... | ||
| 31 | */ |
31 | */ |
| 32 | /** |
32 | /** |
| 33 | * @file |
33 | * @file |
| 34 | */ |
34 | */ |
| 35 | 35 | ||
| 36 | #ifndef KERN_KEY_H_ |
36 | #ifndef KERN_KBD_H_ |
| 37 | #define KERN_KEY_H_ |
37 | #define KERN_KBD_H_ |
| 38 | 38 | ||
| 39 | #include <arch/types.h> |
- | |
| 40 | #include <console/chardev.h> |
39 | #include <console/chardev.h> |
| 41 | 40 | ||
| 42 | #define KEY_RELEASE 0x80 |
41 | extern chardev_t kbrdin; |
| 43 | 42 | ||
| 44 | extern chardev_t kbrd; |
- | |
| 45 | - | ||
| 46 | extern void key_released(uint8_t sc); |
- | |
| 47 | extern void key_pressed(uint8_t sc); |
43 | extern void kbrd_init(chardev_t *); |
| 48 | extern uint8_t active_read_buff_read(void); |
- | |
| 49 | extern void active_read_buff_write(uint8_t ch); |
- | |
| 50 | extern void active_read_key_pressed(uint8_t sc); |
- | |
| 51 | 44 | ||
| 52 | #endif |
45 | #endif |
| 53 | 46 | ||
| 54 | /** @} |
47 | /** @} |
| 55 | */ |
48 | */ |