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 615:38b69ec2f4c8
prev614:a2d239d4438a
next637:6a284eff5311
author nkeynes
date Mon Jan 28 11:17:15 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Split axes into positive and negative sides. Works better now
file annotate diff log raw
nkeynes@614
     1
/**
nkeynes@614
     2
 * $Id: joy_linux.c,v 1.12 2007-11-08 11:54:16 nkeynes Exp $
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@614
    22
/**
nkeynes@614
    23
 * Initialize the linux joystick code, and scan for devices
nkeynes@614
    24
 */
nkeynes@614
    25
gboolean linux_joystick_init();
nkeynes@614
    26
nkeynes@614
    27
/**
nkeynes@614
    28
 * Shutdown the linux joystick system
nkeynes@614
    29
 */
nkeynes@614
    30
void linux_joystick_shutdown();
nkeynes@614
    31
nkeynes@614
    32
nkeynes@614
    33
nkeynes@614
    34
#endif /* !lxdream_joy_linux_H */
.