2
* joysticksettingswindowcontroller.h - JoystickSettings dialog controller
5
* Christian Vogelgsang <chris@vogelgsang.org>
7
* This file is part of VICE, the Versatile Commodore Emulator.
8
* See README for copyright notice.
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
28
#import <Cocoa/Cocoa.h>
29
#import "viceresourcewindowcontroller.h"
30
#import "keypressview.h"
45
@interface JoystickSettingsWindowController : VICEResourceWindowController
47
IBOutlet NSPopUpButton *joystick1Mode;
48
IBOutlet NSPopUpButton *joystick2Mode;
50
IBOutlet KeyPressView *keyPressView;
52
IBOutlet NSButton *buttonANorth;
53
IBOutlet NSButton *buttonASouth;
54
IBOutlet NSButton *buttonAWest;
55
IBOutlet NSButton *buttonAEast;
56
IBOutlet NSButton *buttonANorthWest;
57
IBOutlet NSButton *buttonANorthEast;
58
IBOutlet NSButton *buttonASouthWest;
59
IBOutlet NSButton *buttonASouthEast;
60
IBOutlet NSButton *buttonAFire;
62
IBOutlet NSButton *buttonBNorth;
63
IBOutlet NSButton *buttonBSouth;
64
IBOutlet NSButton *buttonBWest;
65
IBOutlet NSButton *buttonBEast;
66
IBOutlet NSButton *buttonBNorthWest;
67
IBOutlet NSButton *buttonBNorthEast;
68
IBOutlet NSButton *buttonBSouthWest;
69
IBOutlet NSButton *buttonBSouthEast;
70
IBOutlet NSButton *buttonBFire;
72
NSButton *buttonsA[KEYSET_SIZE];
73
NSButton *buttonsB[KEYSET_SIZE];
76
-(void)updateResources:(NSNotification *)notification;
78
-(IBAction)changeJoystick1Mode:(id)sender;
79
-(IBAction)changeJoystick2Mode:(id)sender;
80
-(IBAction)defineKeysetAButton:(id)sender;
81
-(IBAction)defineKeysetBButton:(id)sender;