1 /****************************************************************************
3 * SciTech Multi-platform Graphics Library
5 * ========================================================================
7 * The contents of this file are subject to the SciTech MGL Public
8 * License Version 1.0 (the "License"); you may not use this file
9 * except in compliance with the License. You may obtain a copy of
10 * the License at http://www.scitechsoft.com/mgl-license.txt
12 * Software distributed under the License is distributed on an
13 * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
14 * implied. See the License for the specific language governing
15 * rights and limitations under the License.
17 * The Original Code is Copyright (C) 1991-1998 SciTech Software, Inc.
19 * The Initial Developer of the Original Code is SciTech Software, Inc.
20 * All Rights Reserved.
22 * ========================================================================
27 * Description: Include all the OS specific header files.
29 ****************************************************************************/
33 #include <sys/ioctl.h>
36 #include <linux/keyboard.h>
40 #ifdef USE_OS_JOYSTICK
41 #include <linux/joystick.h>
49 /* Internal global variables */
51 extern int _PM_console_fd,_PM_leds,_PM_modifiers;
53 /* Internal function prototypes */
55 void _PM_restore_kb_mode(void);
56 void _PM_keyboard_rawmode(void);
58 /* Linux needs the generic joystick scaling code */
60 #define NEED_SCALE_JOY_AXIS