1 /** \file winjoy.h 2 * 3 * \brief Joystick support for Windows 4 * 5 * \author Spiro Trikaliotis 6 */ 7 8 /* 9 * This file is part of VICE, the Versatile Commodore Emulator. 10 * See README for copyright notice. 11 * 12 * This program is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by 14 * the Free Software Foundation; either version 2 of the License, or 15 * (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * You should have received a copy of the GNU General Public License 23 * along with this program; if not, write to the Free Software 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 25 * 02111-1307 USA. 26 * 27 */ 28 29 #ifndef VICE_WINJOY_H 30 #define VICE_WINJOY_H 31 32 #include <windows.h> 33 34 /* These are in joystick.c . */ 35 extern void joystick_calibrate(HWND hwnd); 36 extern void joystick_ui_get_device_list(HWND joy_hwnd); 37 extern void joystick_ui_get_autofire_axes(HWND joy_hwnd, int device); 38 extern void joystick_ui_get_autofire_buttons(HWND joy_hwnd, int device); 39 40 #endif 41