src/video/ataricommon/SDL_xbiosevents_c.h
author Sam Lantinga
Sun, 04 Jan 2004 16:49:27 +0000
changeset 769 b8d311d90021
parent 305 9c6613983e85
child 1310 a201a8c62522
permissions -rw-r--r--
Updated copyright information for 2004 (Happy New Year!)
slouken@305
     1
/*
slouken@305
     2
    SDL - Simple DirectMedia Layer
slouken@769
     3
    Copyright (C) 1997-2004 Sam Lantinga
slouken@305
     4
slouken@305
     5
    This library is free software; you can redistribute it and/or
slouken@305
     6
    modify it under the terms of the GNU Library General Public
slouken@305
     7
    License as published by the Free Software Foundation; either
slouken@305
     8
    version 2 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@305
    13
    Library General Public License for more details.
slouken@305
    14
slouken@305
    15
    You should have received a copy of the GNU Library General Public
slouken@305
    16
    License along with this library; if not, write to the Free
slouken@305
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
slouken@305
    18
slouken@305
    19
    Sam Lantinga
slouken@305
    20
    slouken@libsdl.org
slouken@305
    21
*/
slouken@305
    22
slouken@305
    23
#ifdef SAVE_RCSID
slouken@305
    24
static char rcsid =
slouken@305
    25
 "@(#) $Id$";
slouken@305
    26
#endif
slouken@305
    27
slouken@305
    28
/*
slouken@305
    29
 *	Xbios mouse & joystick vectors
slouken@305
    30
 *
slouken@305
    31
 *	Patrice Mandin
slouken@305
    32
 */
slouken@305
    33
slouken@305
    34
#ifndef _SDL_ATARI_XBIOSEVENTS_H_
slouken@305
    35
#define _SDL_ATARI_XBIOSEVENTS_H_
slouken@305
    36
slouken@305
    37
#include "SDL_sysvideo.h"
slouken@305
    38
slouken@305
    39
/* Hidden "this" pointer for the video functions */
slouken@305
    40
#define _THIS	SDL_VideoDevice *this
slouken@305
    41
slouken@305
    42
#define ATARI_XBIOS_MOUSEEVENTS (1<<0)
slouken@305
    43
#define ATARI_XBIOS_JOYSTICKEVENTS (1<<1)
slouken@305
    44
slouken@305
    45
extern int SDL_AtariXbios_enabled;
slouken@305
    46
slouken@305
    47
extern void SDL_AtariXbios_InstallVectors(int vectors_mask);
slouken@305
    48
extern void SDL_AtariXbios_RestoreVectors(void);
slouken@305
    49
extern void SDL_AtariXbios_PostMouseEvents(_THIS);
slouken@305
    50
slouken@305
    51
#endif /* _SDL_XBIOSEVENTS_H_ */