Project

General

Profile

Statistics
| Revision:

root / lab4 / kbd.h @ 62

History | View | Annotate | Download (350 Bytes)

1
/**
2
 * This file concerns everything related to the keyboard
3
 */
4

    
5
#ifndef KBD_H_INCLUDED
6
#define KBD_H_INCLUDED
7

    
8
int (subscribe_kbc_interrupt)(uint8_t interrupt_bit, int *interrupt_id);
9

    
10
uint8_t scancode[2];
11
int two_byte_scancode = 0;
12
int got_error = 0;
13

    
14
void (kbc_ih)(void);
15

    
16
int (kbd_poll)(uint8_t bytes[], uint8_t *size);
17

    
18
#endif //KBD_H_INCLUDED