Import backup from 2004-06-08
This commit is contained in:
1 parent
802a07ebfe
commit
fdf6b71a91
12 files changed
+222
-138
No files matched your search
@@ -12,6 +12,8 @@
|
||||
|
||||
#define KBD_BUFFER_LENGTH 64
|
||||
|
||||
extern "C" {
|
||||
|
||||
byte kbdFlags = 0; //holds current keyboard flags - caps/num/scroll/shift/ctrl/alt
|
||||
byte kbdAscii = 0; //holds ASCII value of a key pressed
|
||||
byte kbdScan = 0; //holds the keyboard scan code of a key pressed
|
||||
@@ -244,7 +246,7 @@ void kbd_resetLEDs()
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -40,11 +40,14 @@
|
||||
|
||||
//====PROTOTYPES:
|
||||
|
||||
extern "C" {
|
||||
|
||||
void isr_keyboard();
|
||||
void kbd_resetLEDs();
|
||||
dword kbdGetKey();
|
||||
dword kbdWaitKey();
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
#define MOUSE_BUFFER_LENGTH 16
|
||||
|
||||
extern "C" {
|
||||
|
||||
int mouse_x;
|
||||
int mouse_y;
|
||||
int mouse_bytesRead;
|
||||
@@ -70,5 +72,5 @@ void isr_mouse()
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -6,10 +6,12 @@
|
||||
#ifndef __HOS_MOUSE__
|
||||
#define __HOS_MOUSE__ __HOS_MOUSE__
|
||||
|
||||
extern "C" {
|
||||
|
||||
void mouse_init();
|
||||
void isr_mouse();
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user