src/video/ataricommon/SDL_ikbdinterrupt_s.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 10 Feb 2006 06:48:43 +0000
changeset 1358 c71e05b4dc2e
parent 1312 c9b51268668f
child 1402 d910939febfa
permissions -rw-r--r--
More header massaging... works great on Windows. ;-)
slouken@281
     1
/*
slouken@281
     2
    SDL - Simple DirectMedia Layer
slouken@1312
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@281
     4
slouken@281
     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@281
     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@281
     9
slouken@281
    10
    This library is distributed in the hope that it will be useful,
slouken@281
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@281
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1312
    13
    Lesser General Public License for more details.
slouken@281
    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@281
    18
slouken@281
    19
    Sam Lantinga
slouken@281
    20
    slouken@libsdl.org
slouken@281
    21
*/
slouken@281
    22
slouken@281
    23
/*
slouken@281
    24
 *	Mouse vector
slouken@281
    25
 *
slouken@281
    26
 *	Patrice Mandin
slouken@281
    27
 */
slouken@281
    28
slouken@281
    29
#ifndef _SDL_IKBDINTERRUPT_S_H_
slouken@281
    30
#define _SDL_IKBDINTERRUPT_S_H_
slouken@281
    31
slouken@281
    32
#include <mint/osbind.h>
slouken@281
    33
slouken@1358
    34
#include "SDL_stdinc.h"
slouken@281
    35
slouken@305
    36
/* Const */
slouken@305
    37
slouken@305
    38
#define IKBD_JOY_UP		(1<<0)
slouken@305
    39
#define IKBD_JOY_DOWN	(1<<1)
slouken@305
    40
#define IKBD_JOY_LEFT	(1<<2)
slouken@305
    41
#define IKBD_JOY_RIGHT	(1<<3)
slouken@305
    42
#define IKBD_JOY_FIRE	(1<<7)
slouken@305
    43
slouken@281
    44
/* Variables */
slouken@281
    45
slouken@281
    46
extern Uint8  SDL_AtariIkbd_keyboard[128];	/* Keyboard table */
slouken@305
    47
extern Uint16 SDL_AtariIkbd_mouseb;	/* Mouse on port 0, buttons */
slouken@305
    48
extern Sint16 SDL_AtariIkbd_mousex;	/* Mouse X relative motion */
slouken@305
    49
extern Sint16 SDL_AtariIkbd_mousey;	/* Mouse Y relative motion */
slouken@305
    50
extern Uint16 SDL_AtariIkbd_joystick;	/* Joystick on port 1 */
slouken@281
    51
slouken@305
    52
extern Uint16 SDL_AtariIkbd_enabled;	/* For joystick driver to know
slouken@305
    53
											if this is usable */
slouken@305
    54
										
slouken@281
    55
/* Functions */ 
slouken@281
    56
slouken@281
    57
extern void SDL_AtariIkbdInstall(void);
slouken@281
    58
extern void SDL_AtariIkbdUninstall(void);
slouken@281
    59
slouken@281
    60
#endif /* _SDL_IKBDINTERRUPT_S_H_ */