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 736:a02d1475ccfd
prev637:6a284eff5311
author nkeynes
date Sat Feb 25 21:30:49 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Android support WIP
view annotate diff log raw
     1 /**
     2  * $Id$
     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 #ifdef __cplusplus
    23 extern "C" {
    24 #endif
    26 /**
    27  * Initialize the linux joystick code, and scan for devices
    28  */
    29 gboolean linux_joystick_init();
    31 /**
    32  * Shutdown the linux joystick system
    33  */
    34 void linux_joystick_shutdown();
    36 #ifdef __cplusplus
    37 }
    38 #endif
    40 #endif /* !lxdream_joy_linux_H */
.