Search
lxdream.org :: lxdream/src/drivers/joy_linux.h :: diff
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 (13 years ago)
permissions -rw-r--r--
last change Bug #49: Joystick support work in progress
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/drivers/joy_linux.h Mon Jan 28 02:38:09 2008 +0000
1.3 @@ -0,0 +1,39 @@
1.4 +/**
1.5 + * $Id: joy_linux.c,v 1.12 2007-11-08 11:54:16 nkeynes Exp $
1.6 + *
1.7 + * Linux joystick input device support
1.8 + *
1.9 + * Copyright (c) 2008 Nathan Keynes.
1.10 + *
1.11 + * This program is free software; you can redistribute it and/or modify
1.12 + * it under the terms of the GNU General Public License as published by
1.13 + * the Free Software Foundation; either version 2 of the License, or
1.14 + * (at your option) any later version.
1.15 + *
1.16 + * This program is distributed in the hope that it will be useful,
1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.19 + * GNU General Public License for more details.
1.20 + */
1.21 +
1.22 +#ifndef lxdream_joy_linux_H
1.23 +#define lxdream_joy_linux_H
1.24 +
1.25 +/**
1.26 + * Initialize the linux joystick code, and scan for devices
1.27 + */
1.28 +gboolean linux_joystick_init();
1.29 +
1.30 +/**
1.31 + * Re-scan the available joystick devices, adding any new ones.
1.32 + */
1.33 +gboolean linux_joystick_rescan();
1.34 +
1.35 +/**
1.36 + * Shutdown the linux joystick system
1.37 + */
1.38 +void linux_joystick_shutdown();
1.39 +
1.40 +
1.41 +
1.42 +#endif /* !lxdream_joy_linux_H */
.