2 * Copyright (c) 2010, Wei Mingzhi <whistler@openoffice.org>.
5 * Based on: HIDInput by Gil Pedersen.
6 * Copyright (c) 2004, Gil Pedersen.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, see <http://www.gnu.org/licenses>.
22 #define PadView NetPcsxHIDInputPluginPadView
24 #import <Cocoa/Cocoa.h>
25 #import "ControllerList.h"
27 @class ControllerList;
29 @interface PadView : NSView
31 IBOutlet NSTableView *tableView;
32 IBOutlet NSPopUpButton *typeMenu;
33 IBOutlet NSPopUpButton *deviceMenu;
35 ControllerList *controller;
37 - (IBAction)setType:(id)sender;
38 - (IBAction)setDevice:(id)sender;
40 - (void)setController:(int)which;