From 8d4373b70d74ff5903c13780f397bdbaa5ad4991 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Thu, 29 Jul 2010 00:34:36 +0000 Subject: implemented config dialog for DFInput on OSX, removed HIDInput. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@55259 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/HIDInput/src/KeyConfig.h | 60 --------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 macosx/plugins/HIDInput/src/KeyConfig.h (limited to 'macosx/plugins/HIDInput/src/KeyConfig.h') diff --git a/macosx/plugins/HIDInput/src/KeyConfig.h b/macosx/plugins/HIDInput/src/KeyConfig.h deleted file mode 100644 index 426783f5..00000000 --- a/macosx/plugins/HIDInput/src/KeyConfig.h +++ /dev/null @@ -1,60 +0,0 @@ -/*************************************************************************** - KeyConfig.h - HIDInput - - Created by Gil Pedersen on Sat May 29 2004. - Copyright (c) 2004 Gil Pedersen. - ***************************************************************************/ - -/*************************************************************************** - * * - * 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 also the license.txt file for * - * additional informations. * - * * - ***************************************************************************/ - -#define KeyConfig NetPcsxHIDInputPluginKeyConfig - -#import -#include -#include "HID_Utilities_External.h" -#import "ControllerList.h" - -@class ControllerList; - -@interface KeyConfig : NSObject { - ControllerList *list; - NSDictionary *keyValues; -} - -- (id)init; -- (void)dealloc; - -+ (KeyConfig *)current; - -+ (NSString *)mappingIdForElement:(pRecElement)element onDevice:(pRecDevice)device reverse:(BOOL)reverse; -+ (BOOL)reverseMappingForId:(NSString *)mappingId outElement:(pRecElement *)element outDevice:(pRecDevice *)device; -+ (NSString *)nameFromMapping:(NSString *)mappingId; -+ (NSString *)deviceNameFromMapping:(NSString *)mappingId; - -- (ControllerList *)controllerList; -- (void)setCurrentSet:(NSString *)name; -- (NSString *)currentSet; -- (NSDictionary *)players; -- (NSDictionary *)typesForPlayer:(int)player; -- (void)setCurrentType:(NSString *)type player:(int)player; -- (NSString *)currentTypeForPlayer:(int)player; -- (NSDictionary *)currentKeysForPlayer:(int)player; - -- (void)addMapping:(NSString *)mappingId forElement:(NSString *)name player:(int)player; -- (void)removeMappingsForElement:(NSString *)name player:(int)player; -- (NSArray *)currentMappingsForElement:(NSString *)name player:(int)player; -- (NSString *)mappingNamesForElement:(NSString *)name player:(int)player; - -- (void)updateKeys; -- (void)releaseKeys; - -@end -- cgit v1.2.3