File indexing completed on 2025-01-19 04:23:28

0001 #ifndef _MAC_VK_CODE_
0002 #define _MAC_VK_CODE_
0003 // copied from:
0004 // /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h
0005 enum {
0006   kVK_ANSI_A                    = 0x00,
0007   kVK_ANSI_S                    = 0x01,
0008   kVK_ANSI_D                    = 0x02,
0009   kVK_ANSI_F                    = 0x03,
0010   kVK_ANSI_H                    = 0x04,
0011   kVK_ANSI_G                    = 0x05,
0012   kVK_ANSI_Z                    = 0x06,
0013   kVK_ANSI_X                    = 0x07,
0014   kVK_ANSI_C                    = 0x08,
0015   kVK_ANSI_V                    = 0x09,
0016   kVK_ANSI_B                    = 0x0B,
0017   kVK_ANSI_Q                    = 0x0C,
0018   kVK_ANSI_W                    = 0x0D,
0019   kVK_ANSI_E                    = 0x0E,
0020   kVK_ANSI_R                    = 0x0F,
0021   kVK_ANSI_Y                    = 0x10,
0022   kVK_ANSI_T                    = 0x11,
0023   kVK_ANSI_1                    = 0x12,
0024   kVK_ANSI_2                    = 0x13,
0025   kVK_ANSI_3                    = 0x14,
0026   kVK_ANSI_4                    = 0x15,
0027   kVK_ANSI_6                    = 0x16,
0028   kVK_ANSI_5                    = 0x17,
0029   kVK_ANSI_Equal                = 0x18,
0030   kVK_ANSI_9                    = 0x19,
0031   kVK_ANSI_7                    = 0x1A,
0032   kVK_ANSI_Minus                = 0x1B,
0033   kVK_ANSI_8                    = 0x1C,
0034   kVK_ANSI_0                    = 0x1D,
0035   kVK_ANSI_RightBracket         = 0x1E,
0036   kVK_ANSI_O                    = 0x1F,
0037   kVK_ANSI_U                    = 0x20,
0038   kVK_ANSI_LeftBracket          = 0x21,
0039   kVK_ANSI_I                    = 0x22,
0040   kVK_ANSI_P                    = 0x23,
0041   kVK_ANSI_L                    = 0x25,
0042   kVK_ANSI_J                    = 0x26,
0043   kVK_ANSI_Quote                = 0x27,
0044   kVK_ANSI_K                    = 0x28,
0045   kVK_ANSI_Semicolon            = 0x29,
0046   kVK_ANSI_Backslash            = 0x2A,
0047   kVK_ANSI_Comma                = 0x2B,
0048   kVK_ANSI_Slash                = 0x2C,
0049   kVK_ANSI_N                    = 0x2D,
0050   kVK_ANSI_M                    = 0x2E,
0051   kVK_ANSI_Period               = 0x2F,
0052   kVK_ANSI_Grave                = 0x32,
0053   kVK_ANSI_KeypadDecimal        = 0x41,
0054   kVK_ANSI_KeypadMultiply       = 0x43,
0055   kVK_ANSI_KeypadPlus           = 0x45,
0056   kVK_ANSI_KeypadClear          = 0x47,
0057   kVK_ANSI_KeypadDivide         = 0x4B,
0058   kVK_ANSI_KeypadEnter          = 0x4C,
0059   kVK_ANSI_KeypadMinus          = 0x4E,
0060   kVK_ANSI_KeypadEquals         = 0x51,
0061   kVK_ANSI_Keypad0              = 0x52,
0062   kVK_ANSI_Keypad1              = 0x53,
0063   kVK_ANSI_Keypad2              = 0x54,
0064   kVK_ANSI_Keypad3              = 0x55,
0065   kVK_ANSI_Keypad4              = 0x56,
0066   kVK_ANSI_Keypad5              = 0x57,
0067   kVK_ANSI_Keypad6              = 0x58,
0068   kVK_ANSI_Keypad7              = 0x59,
0069   kVK_ANSI_Keypad8              = 0x5B,
0070   kVK_ANSI_Keypad9              = 0x5C
0071 };
0072 #endif