1 /*
2  * joy.c - Joystick support for MS-DOS.
3  *
4  * Written by
5  *  Ettore Perazzoli <ettore@comm2000.it>
6  *
7  * This file is part of VICE, the Versatile Commodore Emulator.
8  * See README for copyright notice.
9  *
10  *  This program is free software; you can redistribute it and/or modify
11  *  it under the terms of the GNU General Public License as published by
12  *  the Free Software Foundation; either version 2 of the License, or
13  *  (at your option) any later version.
14  *
15  *  This program is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  *  GNU General Public License for more details.
19  *
20  *  You should have received a copy of the GNU General Public License
21  *  along with this program; if not, write to the Free Software
22  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
23  *  02111-1307  USA.
24  *
25  */
26 
27 #include "vice.h"
28 
29 #include <stdio.h>
30 
31 #include "cmdline.h"
32 #include "keyboard.h"
33 #include "joy.h"
34 #include "joystick.h"
35 #include "machine.h"
36 #include "resources.h"
37 #if 0
38 #include "translate.h"
39 #endif
40 #include "types.h"
41 #if 0
42 static const resource_int_t resources_int[] = {
43     { NULL }
44 };
45 #endif
46 /* ------------------------------------------------------------------------- */
47 
joystick_arch_init_resources(void)48 int joystick_arch_init_resources(void)
49 {
50     return 0;
51 }
52 
joy_arch_resources_init(void)53 int joy_arch_resources_init(void)
54 {
55     return 0;
56 }
57 
joy_arch_cmdline_options_init(void)58 int joy_arch_cmdline_options_init(void)
59 {
60     return 0;
61 }
62 
joystick_init_cmdline_options(void)63 int joystick_init_cmdline_options(void)
64 {
65     return 0;
66 }
67 
68 /* ------------------------------------------------------------------------- */
69 
joy_arch_set_device(int port,int new_dev)70 int joy_arch_set_device(int port, int new_dev)
71 {
72     return 0;
73 }
74 
75 /* Initialize joystick support.  */
joy_arch_init(void)76 int joy_arch_init(void)
77 {
78     return 0;
79 }
80 
81 /* Update the `joystick_value' variables according to the joystick status.  */
joystick_update(void)82 void joystick_update(void)
83 {
84 }
85 
joystick_close(void)86 void joystick_close(void)
87 {
88     /* Nothing to do on MSDOS.  */
89     return;
90 }
91 
92 /* ------------------------------------------------------------------------- */
93