2 * $Id: joy_linux.c,v 1.12 2007-11-08 11:54:16 nkeynes Exp $
4 * Linux joystick input device support
6 * Copyright (c) 2008 Nathan Keynes.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
19 #ifndef lxdream_joy_linux_H
20 #define lxdream_joy_linux_H
23 * Initialize the linux joystick code, and scan for devices
25 gboolean linux_joystick_init();
28 * Re-scan the available joystick devices, adding any new ones.
30 gboolean linux_joystick_rescan();
33 * Shutdown the linux joystick system
35 void linux_joystick_shutdown();
39 #endif /* !lxdream_joy_linux_H */
.