Oolite
1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
src
Cocoa
OOMacJoystickManager.h
Go to the documentation of this file.
1
/*
2
3
OOMacJoystickManager.h
4
By Alex Smith and Jens Ayton
5
6
Oolite
7
Copyright (C) 2004-2013 Giles C Williams and contributors
8
9
This program is free software; you can redistribute it and/or
10
modify it under the terms of the GNU General Public License
11
as published by the Free Software Foundation; either version 2
12
of the License, or (at your option) any later version.
13
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22
MA 02110-1301, USA.
23
24
*/
25
26
27
#import <IOKit/hid/IOHIDManager.h>
28
#import "
OOJoystickManager.h
"
29
30
31
#define STICK_GAMMA 2.0
32
33
34
enum
35
{
36
kJoystickGammaTableSize
= 256
37
};
38
39
40
@interface
OOMacJoystickManager
:
OOJoystickManager
41
{
42
@private
43
IOHIDManagerRef
hidManager
;
44
CFMutableArrayRef
devices
;
45
int
gammaTable
[kJoystickGammaTableSize];
46
}
47
48
@end
OOJoystickManager.h
kJoystickGammaTableSize
@ kJoystickGammaTableSize
Definition
OOMacJoystickManager.h:36
OOJoystickManager
Definition
OOJoystickManager.h:248
OOMacJoystickManager
Definition
OOMacJoystickManager.h:41
OOMacJoystickManager::hidManager
IOHIDManagerRef hidManager
Definition
OOMacJoystickManager.h:43
OOMacJoystickManager::devices
CFMutableArrayRef devices
Definition
OOMacJoystickManager.h:44
OOMacJoystickManager::gammaTable
int gammaTable[kJoystickGammaTableSize]
Definition
OOMacJoystickManager.h:45
Generated by
1.12.0