mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 02:39:30 +00:00
Reverted to unsigned applications.
Added public certificate for signed Sparkle updates Removed non-working AutoType code fragments for now
This commit is contained in:
31
MacPass/MPKeyMapper.h
Normal file
31
MacPass/MPKeyMapper.h
Normal file
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// MPKeyMapper.h
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 07.02.14.
|
||||
// Copyright (c) 2014 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
extern uint16_t const kMPUnknownKeyCode;
|
||||
|
||||
@interface MPKeyMapper : NSObject
|
||||
|
||||
/**
|
||||
* Retrieves the string representation with the current keyboard mapping for the keycode
|
||||
*
|
||||
* @param keyCode The virutal keycode to be pressed
|
||||
* @return NSString containing the current mapping for the keyCode
|
||||
*/
|
||||
+ (NSString *)stringForKey:(CGKeyCode)keyCode;
|
||||
|
||||
/**
|
||||
* Determines the keyCode (if possible) for the charater
|
||||
*
|
||||
* @param character NSString with a single character to be transformed
|
||||
* @return virtual Keycode for the supplied string. If none is found, kMPUnkonwKeyCode is returned
|
||||
*/
|
||||
+ (CGKeyCode)keyCodeForCharacter:(NSString *)character;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user