git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

Cocoa/KeyboardShortcutPrivateAPIs.h

      1 /* These are private APIs, but they are a very simple and comprehensive way
      2    to convert a key equivalent to its display name. */
      3 
      4 @interface NSKeyboardShortcut : NSObject <NSCopying>
      5 
      6 + (id)shortcutWithPreferencesEncoding:(NSString *)encoding;
      7 + (id)shortcutWithKeyEquivalent:(NSString *)key_equivalent modifierMask:(NSUInteger)mask;
      8 - (id)initWithKeyEquivalent:(NSString *)key_equivalent modifierMask:(NSUInteger)mask;
      9 
     10 @property(readonly) NSUInteger modifierMask;
     11 @property(readonly) NSString *keyEquivalent;
     12 @property(readonly) NSString *preferencesEncoding;
     13 @property(readonly) NSString *localizedModifierMaskDisplayName;
     14 @property(readonly) NSString *localizedKeyEquivalentDisplayName;
     15 @property(readonly) NSString *localizedDisplayName;
     16 
     17 @end
     18 
     19 @interface NSPrefPaneUtils : NSObject
     20 + (id)stringForVirtualKey:(unsigned int)key modifiers:(unsigned int)flags;
     21 @end

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.