src/video/ataricommon/SDL_ikbdinterrupt_s.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 10 Jul 2006 21:04:37 +0000
changeset 1895 c121d94672cb
parent 1751 a11c13151840
child 2859 99210400e8b9
permissions -rw-r--r--
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
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@1402
    22
#include "SDL_config.h"
slouken@281
    23
slouken@281
    24
/*
slouken@281
    25
 *	Mouse vector
slouken@281
    26
 *
slouken@281
    27
 *	Patrice Mandin
slouken@281
    28
 */
slouken@281
    29
slouken@281
    30
#ifndef _SDL_IKBDINTERRUPT_S_H_
slouken@281
    31
#define _SDL_IKBDINTERRUPT_S_H_
slouken@281
    32
slouken@281
    33
#include <mint/osbind.h>
slouken@281
    34
slouken@1358
    35
#include "SDL_stdinc.h"
slouken@281
    36
slouken@305
    37
/* Const */
slouken@305
    38
slouken@305
    39
#define IKBD_JOY_UP		(1<<0)
slouken@305
    40
#define IKBD_JOY_DOWN	(1<<1)
slouken@305
    41
#define IKBD_JOY_LEFT	(1<<2)
slouken@305
    42
#define IKBD_JOY_RIGHT	(1<<3)
slouken@305
    43
#define IKBD_JOY_FIRE	(1<<7)
slouken@305
    44
slouken@281
    45
/* Variables */
slouken@281
    46
slouken@1895
    47
extern volatile Uint8 SDL_AtariIkbd_keyboard[128];      /* Keyboard table */
slouken@1895
    48
extern volatile Uint16 SDL_AtariIkbd_mouseb;    /* Mouse on port 0, buttons */
slouken@1895
    49
extern volatile Sint16 SDL_AtariIkbd_mousex;    /* Mouse X relative motion */
slouken@1895
    50
extern volatile Sint16 SDL_AtariIkbd_mousey;    /* Mouse Y relative motion */
slouken@1895
    51
extern volatile Uint16 SDL_AtariIkbd_joystick;  /* Joystick on port 1 */
slouken@281
    52
patmandin@1751
    53
/* For joystick driver to know if this is usable */
patmandin@1751
    54
extern Uint16 SDL_AtariIkbd_enabled;
slouken@1895
    55
slouken@1895
    56
/* Functions */
slouken@281
    57
slouken@281
    58
extern void SDL_AtariIkbdInstall(void);
slouken@281
    59
extern void SDL_AtariIkbdUninstall(void);
slouken@281
    60
slouken@281
    61
#endif /* _SDL_IKBDINTERRUPT_S_H_ */
slouken@1895
    62
/* vi: set ts=4 sw=4 expandtab: */