/* * joy.c - Joystick support for MS-DOS. * * Written by * Ettore Perazzoli * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA. * */ #include "vice.h" #include #include "cmdline.h" #include "keyboard.h" #include "joy.h" #include "joystick.h" #include "machine.h" #include "resources.h" #if 0 #include "translate.h" #endif #include "types.h" #if 0 static const resource_int_t resources_int[] = { { NULL } }; #endif /* ------------------------------------------------------------------------- */ int joystick_arch_init_resources(void) { return 0; } int joy_arch_resources_init(void) { return 0; } int joy_arch_cmdline_options_init(void) { return 0; } int joystick_init_cmdline_options(void) { return 0; } /* ------------------------------------------------------------------------- */ int joy_arch_set_device(int port, int new_dev) { return 0; } /* Initialize joystick support. */ int joy_arch_init(void) { return 0; } /* Update the `joystick_value' variables according to the joystick status. */ void joystick_update(void) { } void joystick_close(void) { /* Nothing to do on MSDOS. */ return; } /* ------------------------------------------------------------------------- */