diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-04-01 17:01:33 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-04-01 17:01:33 +0000 |
commit | 6c921af034525fc28f006e447f62a31e00649f2c (patch) | |
tree | e6287c87d5aacd4980c1b1301aa548f67dfd5738 /src/glut/dos/PC_HW/pc_hw.h | |
parent | a97d216adb6cd97926d760a4b5eadfaf1fda29f7 (diff) |
DOS driver update
Diffstat (limited to 'src/glut/dos/PC_HW/pc_hw.h')
-rw-r--r-- | src/glut/dos/PC_HW/pc_hw.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/glut/dos/PC_HW/pc_hw.h b/src/glut/dos/PC_HW/pc_hw.h index 09fe8051bb..47fcf78d0c 100644 --- a/src/glut/dos/PC_HW/pc_hw.h +++ b/src/glut/dos/PC_HW/pc_hw.h @@ -1,5 +1,5 @@ /*
- * PC/HW routine collection v0.1 for DOS/DJGPP
+ * PC/HW routine collection v1.0 for DOS/DJGPP
*
* Copyright (C) 2002 - Borca Daniel
* Email : dborca@yahoo.com
@@ -189,12 +189,11 @@ extern int pc_remove_irq (int i); #define KEY_MAX 115
-extern volatile char pc_key[KEY_MAX];
-
int pc_install_keyb (void);
void pc_remove_keyb (void);
int pc_keypressed (void);
int pc_readkey (void);
+int pc_keydown (int code);
/*
* timer
@@ -205,13 +204,12 @@ void pc_remove_timer (void); /*
* mouse
*/
-extern volatile int pc_mouse_x, pc_mouse_y, pc_mouse_b;
-
int pc_install_mouse (void);
void pc_remove_mouse (void);
MFUNC pc_install_mouse_handler (MFUNC handler);
void pc_mouse_area (int x1, int y1, int x2, int y2);
void pc_mouse_speed (int xspeed, int yspeed);
+int pc_query_mouse (int *x, int *y);
void pc_show_mouse (void);
void pc_scare_mouse (void);
void pc_unscare_mouse (void);
|