a500kbd
view src/ps2kbd.h @ 3:31a1f0b53d98
- scroll lock now acts as caps lock
- the scroll-lock light indicates drive activity
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 18 Oct 2017 08:20:58 +0300 |
parents | a4fd9c5a6655 |
children |
line source
1 #ifndef PS2KBD_H_
2 #define PS2KBD_H_
4 enum {
5 PS2LED_SCRLK = 1,
6 PS2LED_NUMLK = 2,
7 PS2LED_CAPSLK = 4
8 };
10 int ps2write(unsigned char c);
11 unsigned char ps2read(void);
12 int ps2pending(void);
13 int ps2wait(unsigned int timeout);
15 int ps2setled(unsigned char state);
17 #endif /* PS2KBD_H_ */