src/video/ataricommon/SDL_xbiosevents_c.h
author Patrice Mandin
Sun, 30 Apr 2006 21:01:25 +0000
changeset 1751 a11c13151840
parent 1402 d910939febfa
child 1662 782fd950bd46
child 1895 c121d94672cb
child 3857 be01e0b82dca
permissions -rw-r--r--
Declare volatile variables modified by interrupt routines
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@1402
    22
#include "SDL_config.h"
slouken@305
    23
slouken@305
    24
/*
slouken@305
    25
 *	Xbios mouse & joystick vectors
slouken@305
    26
 *
slouken@305
    27
 *	Patrice Mandin
slouken@305
    28
 */
slouken@305
    29
slouken@305
    30
#ifndef _SDL_ATARI_XBIOSEVENTS_H_
slouken@305
    31
#define _SDL_ATARI_XBIOSEVENTS_H_
slouken@305
    32
slouken@1361
    33
#include "../SDL_sysvideo.h"
slouken@305
    34
slouken@305
    35
/* Hidden "this" pointer for the video functions */
slouken@305
    36
#define _THIS	SDL_VideoDevice *this
slouken@305
    37
slouken@305
    38
#define ATARI_XBIOS_MOUSEEVENTS (1<<0)
slouken@305
    39
#define ATARI_XBIOS_JOYSTICKEVENTS (1<<1)
slouken@305
    40
slouken@305
    41
extern int SDL_AtariXbios_enabled;
slouken@305
    42
slouken@305
    43
extern void SDL_AtariXbios_InstallVectors(int vectors_mask);
slouken@305
    44
extern void SDL_AtariXbios_RestoreVectors(void);
patmandin@1310
    45
extern void SDL_AtariXbios_PostMouseEvents(_THIS, SDL_bool buttonEvents);
slouken@305
    46
slouken@305
    47
#endif /* _SDL_XBIOSEVENTS_H_ */