slouken@305
|
1 |
/*
|
slouken@305
|
2 |
SDL - Simple DirectMedia Layer
|
slouken@1312
|
3 |
Copyright (C) 1997-2006 Sam Lantinga
|
slouken@305
|
4 |
|
slouken@305
|
5 |
This library is free software; you can redistribute it and/or
|
slouken@1312
|
6 |
modify it under the terms of the GNU Lesser General Public
|
slouken@305
|
7 |
License as published by the Free Software Foundation; either
|
slouken@1312
|
8 |
version 2.1 of the License, or (at your option) any later version.
|
slouken@305
|
9 |
|
slouken@305
|
10 |
This library is distributed in the hope that it will be useful,
|
slouken@305
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
slouken@305
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
slouken@1312
|
13 |
Lesser General Public License for more details.
|
slouken@305
|
14 |
|
slouken@1312
|
15 |
You should have received a copy of the GNU Lesser General Public
|
slouken@1312
|
16 |
License along with this library; if not, write to the Free Software
|
slouken@1312
|
17 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
slouken@305
|
18 |
|
slouken@305
|
19 |
Sam Lantinga
|
slouken@305
|
20 |
slouken@libsdl.org
|
slouken@305
|
21 |
*/
|
slouken@305
|
22 |
|
slouken@305
|
23 |
/*
|
slouken@305
|
24 |
* Mouse vector
|
slouken@305
|
25 |
*
|
slouken@305
|
26 |
* Patrice Mandin
|
slouken@305
|
27 |
*/
|
slouken@305
|
28 |
|
slouken@305
|
29 |
#ifndef _SDL_XBIOSINTERRUPT_S_H_
|
slouken@305
|
30 |
#define _SDL_XBIOSINTERRUPT_S_H_
|
slouken@305
|
31 |
|
slouken@305
|
32 |
#include <mint/osbind.h>
|
slouken@305
|
33 |
|
slouken@1358
|
34 |
#include "SDL_stdinc.h"
|
slouken@305
|
35 |
|
slouken@305
|
36 |
/* Variables */
|
slouken@305
|
37 |
|
slouken@305
|
38 |
extern Uint16 SDL_AtariXbios_mouseb; /* buttons */
|
slouken@305
|
39 |
extern Sint16 SDL_AtariXbios_mousex; /* X relative motion */
|
slouken@305
|
40 |
extern Sint16 SDL_AtariXbios_mousey; /* Y relative motion */
|
slouken@305
|
41 |
extern Uint16 SDL_AtariXbios_joystick; /* Joystick */
|
slouken@305
|
42 |
|
slouken@305
|
43 |
/* Functions */
|
slouken@305
|
44 |
|
slouken@305
|
45 |
extern void SDL_AtariXbios_Install(_KBDVECS *kbdvecs,void *newmousevector,void *newjoystickvector);
|
patmandin@820
|
46 |
extern void SDL_AtariXbios_Restore(_KBDVECS *kbdvecs);
|
slouken@305
|
47 |
extern void SDL_AtariXbios_MouseVector(void *buf);
|
slouken@305
|
48 |
extern void SDL_AtariXbios_JoystickVector(void *buf);
|
slouken@305
|
49 |
|
slouken@305
|
50 |
#endif /* _SDL_XBIOSINTERRUPT_S_H_ */
|