nkeynes@614: /** nkeynes@637: * $Id$ nkeynes@614: * nkeynes@614: * Linux joystick input device support nkeynes@614: * nkeynes@614: * Copyright (c) 2008 Nathan Keynes. nkeynes@614: * nkeynes@614: * This program is free software; you can redistribute it and/or modify nkeynes@614: * it under the terms of the GNU General Public License as published by nkeynes@614: * the Free Software Foundation; either version 2 of the License, or nkeynes@614: * (at your option) any later version. nkeynes@614: * nkeynes@614: * This program is distributed in the hope that it will be useful, nkeynes@614: * but WITHOUT ANY WARRANTY; without even the implied warranty of nkeynes@614: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nkeynes@614: * GNU General Public License for more details. nkeynes@614: */ nkeynes@614: nkeynes@614: #ifndef lxdream_joy_linux_H nkeynes@614: #define lxdream_joy_linux_H nkeynes@614: nkeynes@736: #ifdef __cplusplus nkeynes@736: extern "C" { nkeynes@736: #endif nkeynes@736: nkeynes@614: /** nkeynes@614: * Initialize the linux joystick code, and scan for devices nkeynes@614: */ nkeynes@614: gboolean linux_joystick_init(); nkeynes@614: nkeynes@614: /** nkeynes@614: * Shutdown the linux joystick system nkeynes@614: */ nkeynes@614: void linux_joystick_shutdown(); nkeynes@614: nkeynes@736: #ifdef __cplusplus nkeynes@736: } nkeynes@736: #endif nkeynes@614: nkeynes@614: #endif /* !lxdream_joy_linux_H */