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 Mon Jul 14 07:44:42 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Re-indent everything consistently
Fix include guards for consistency as well
file annotate diff log raw
nkeynes@614
     1
/**
nkeynes@637
     2
 * $Id$
nkeynes@614
     3
 *
nkeynes@614
     4
 * Linux joystick input device support
nkeynes@614
     5
 *
nkeynes@614
     6
 * Copyright (c) 2008 Nathan Keynes.
nkeynes@614
     7
 *
nkeynes@614
     8
 * This program is free software; you can redistribute it and/or modify
nkeynes@614
     9
 * it under the terms of the GNU General Public License as published by
nkeynes@614
    10
 * the Free Software Foundation; either version 2 of the License, or
nkeynes@614
    11
 * (at your option) any later version.
nkeynes@614
    12
 *
nkeynes@614
    13
 * This program is distributed in the hope that it will be useful,
nkeynes@614
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
nkeynes@614
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
nkeynes@614
    16
 * GNU General Public License for more details.
nkeynes@614
    17
 */
nkeynes@614
    18
nkeynes@614
    19
#ifndef lxdream_joy_linux_H
nkeynes@614
    20
#define lxdream_joy_linux_H
nkeynes@614
    21
nkeynes@736
    22
#ifdef __cplusplus
nkeynes@736
    23
extern "C" {
nkeynes@736
    24
#endif
nkeynes@736
    25
nkeynes@614
    26
/**
nkeynes@614
    27
 * Initialize the linux joystick code, and scan for devices
nkeynes@614
    28
 */
nkeynes@614
    29
gboolean linux_joystick_init();
nkeynes@614
    30
nkeynes@614
    31
/**
nkeynes@614
    32
 * Shutdown the linux joystick system
nkeynes@614
    33
 */
nkeynes@614
    34
void linux_joystick_shutdown();
nkeynes@614
    35
nkeynes@736
    36
#ifdef __cplusplus
nkeynes@736
    37
}
nkeynes@736
    38
#endif
nkeynes@614
    39
nkeynes@614
    40
#endif /* !lxdream_joy_linux_H */
.