diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-06-04 15:51:39 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-06-04 15:51:39 +0000 |
commit | 430c2443455673d87af07af024caf872ff4f2b68 (patch) | |
tree | f94080772ce005a7e6ab55deedc546bb084e61a6 /hid.c | |
parent | b6436b67c81444fe0740035474cf0fe390f5895a (diff) |
updated joystick support on Mac OS X so that joystick twist is set to abs_rz and throttle is set to abs_throttle even when devices use different code pages (USB HID spec sucks!); minor code cleanups
svn path=/trunk/externals/hcs/hid/; revision=3111
Diffstat (limited to 'hid.c')
-rw-r--r-- | hid.c | 48 |
1 files changed, 24 insertions, 24 deletions
@@ -1,27 +1,27 @@ -/* ---------------------------------------------------------------------------- */ -/* */ -/* MacOS X object to use HIDs (Human Interface Devices) */ -/* Written by Hans-Christoph Steiner <hans@at.or.at> */ -/* */ -/* Copyright (c) 2004 Hans-Christoph Steiner */ -/* */ -/* This program is free software; you can redistribute it and/or */ -/* modify it under the terms of the GNU General Public License */ -/* as published by the Free Software Foundation; either version 2 */ -/* of the License, or (at your option) any later version. */ -/* */ -/* See file LICENSE for further informations on licensing terms. */ -/* */ -/* This program is distributed in the hope that it will be useful, */ -/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* GNU General Public License for more details. */ -/* */ -/* You should have received a copy of the GNU General Public License */ -/* along with this program; if not, write to the Free Software */ -/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* */ -/* ---------------------------------------------------------------------------- */ +/* --------------------------------------------------------------------------*/ +/* */ +/* MacOS X object to use HIDs (Human Interface Devices) */ +/* Written by Hans-Christoph Steiner <hans@at.or.at> */ +/* */ +/* Copyright (c) 2004 Hans-Christoph Steiner */ +/* */ +/* This program is free software; you can redistribute it and/or */ +/* modify it under the terms of the GNU General Public License */ +/* as published by the Free Software Foundation; either version 2 */ +/* of the License, or (at your option) any later version. */ +/* */ +/* See file LICENSE for further informations on licensing terms. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program; if not, write to the Free Software Foundation, */ +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* */ +/* --------------------------------------------------------------------------*/ #include "hid.h" |