Project

General

Profile

Statistics
| Revision:

root / lab4 / keyboard.h @ 395

History | View | Annotate | Download (366 Bytes)

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

    
5
#ifndef KEYBOARD_H_INCLUDED
6
#define KEYBOARD_H_INCLUDED
7

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

    
10
uint8_t scancode[2];
11
int done;
12
int sz;
13
int got_error_keyboard;
14

    
15
void (kbc_ih)(void);
16

    
17
int (keyboard_poll)(uint8_t bytes[], uint8_t *size);
18

    
19
#endif //KEYBOARD_H_INCLUDED