src/video/ataricommon/SDL_xbiosevents_c.h
author Sam Lantinga
Thu, 16 Feb 2006 10:11:48 +0000
changeset 1361 19418e4422cb
parent 1312 c9b51268668f
child 1402 d910939febfa
permissions -rw-r--r--
New configure-based build system. Still work in progress, but much improved
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
 *	Xbios mouse & joystick vectors
slouken@305
    25
 *
slouken@305
    26
 *	Patrice Mandin
slouken@305
    27
 */
slouken@305
    28
slouken@305
    29
#ifndef _SDL_ATARI_XBIOSEVENTS_H_
slouken@305
    30
#define _SDL_ATARI_XBIOSEVENTS_H_
slouken@305
    31
slouken@1361
    32
#include "../SDL_sysvideo.h"
slouken@305
    33
slouken@305
    34
/* Hidden "this" pointer for the video functions */
slouken@305
    35
#define _THIS	SDL_VideoDevice *this
slouken@305
    36
slouken@305
    37
#define ATARI_XBIOS_MOUSEEVENTS (1<<0)
slouken@305
    38
#define ATARI_XBIOS_JOYSTICKEVENTS (1<<1)
slouken@305
    39
slouken@305
    40
extern int SDL_AtariXbios_enabled;
slouken@305
    41
slouken@305
    42
extern void SDL_AtariXbios_InstallVectors(int vectors_mask);
slouken@305
    43
extern void SDL_AtariXbios_RestoreVectors(void);
patmandin@1310
    44
extern void SDL_AtariXbios_PostMouseEvents(_THIS, SDL_bool buttonEvents);
slouken@305
    45
slouken@305
    46
#endif /* _SDL_XBIOSEVENTS_H_ */