Search
lxdream.org :: lxdream/src/drivers/joy_linux.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/joy_linux.h
changeset 614:a2d239d4438a
next615:38b69ec2f4c8
author nkeynes
date Mon Jan 28 02:38:09 2008 +0000 (14 years ago)
permissions -rw-r--r--
last change Bug #49: Joystick support work in progress
view annotate diff log raw
     1 /**
     2  * $Id: joy_linux.c,v 1.12 2007-11-08 11:54:16 nkeynes Exp $
     3  *
     4  * Linux joystick input device support
     5  *
     6  * Copyright (c) 2008 Nathan Keynes.
     7  *
     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.
    12  *
    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.
    17  */
    19 #ifndef lxdream_joy_linux_H
    20 #define lxdream_joy_linux_H
    22 /**
    23  * Initialize the linux joystick code, and scan for devices
    24  */
    25 gboolean linux_joystick_init();
    27 /**
    28  * Re-scan the available joystick devices, adding any new ones.
    29  */
    30 gboolean linux_joystick_rescan();
    32 /**
    33  * Shutdown the linux joystick system
    34  */
    35 void linux_joystick_shutdown();
    39 #endif /* !lxdream_joy_linux_H */
.