-
Notifications
You must be signed in to change notification settings - Fork 17
[Mac] Update cocoa for mac os 15 #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| // Define key codes that were previously in Carbon | ||
| #define kVK_ANSI_0 0x1D | ||
| #define kVK_ANSI_1 0x12 | ||
| #define kVK_ANSI_2 0x13 | ||
| #define kVK_ANSI_3 0x14 | ||
| #define kVK_ANSI_4 0x15 | ||
| #define kVK_ANSI_5 0x17 | ||
| #define kVK_ANSI_6 0x16 | ||
| #define kVK_ANSI_7 0x1A | ||
| #define kVK_ANSI_8 0x1C | ||
| #define kVK_ANSI_9 0x19 | ||
| #define kVK_ANSI_A 0x00 | ||
| #define kVK_ANSI_B 0x0B | ||
| #define kVK_ANSI_C 0x08 | ||
| #define kVK_ANSI_D 0x02 | ||
| #define kVK_ANSI_E 0x0E | ||
| #define kVK_ANSI_F 0x03 | ||
| #define kVK_ANSI_G 0x05 | ||
| #define kVK_ANSI_H 0x04 | ||
| #define kVK_ANSI_I 0x22 | ||
| #define kVK_ANSI_J 0x26 | ||
| #define kVK_ANSI_K 0x28 | ||
| #define kVK_ANSI_L 0x25 | ||
| #define kVK_ANSI_M 0x2E | ||
| #define kVK_ANSI_N 0x2D | ||
| #define kVK_ANSI_O 0x1F | ||
| #define kVK_ANSI_P 0x23 | ||
| #define kVK_ANSI_Q 0x0C | ||
| #define kVK_ANSI_R 0x0F | ||
| #define kVK_ANSI_S 0x01 | ||
| #define kVK_ANSI_T 0x11 | ||
| #define kVK_ANSI_U 0x20 | ||
| #define kVK_ANSI_V 0x09 | ||
| #define kVK_ANSI_W 0x0D | ||
| #define kVK_ANSI_X 0x07 | ||
| #define kVK_ANSI_Y 0x10 | ||
| #define kVK_ANSI_Z 0x06 | ||
|
|
||
| #define kVK_F1 0x7A | ||
| #define kVK_F2 0x78 | ||
| #define kVK_F3 0x63 | ||
| #define kVK_F4 0x76 | ||
| #define kVK_F5 0x60 | ||
| #define kVK_F6 0x61 | ||
| #define kVK_F7 0x62 | ||
| #define kVK_F8 0x64 | ||
| #define kVK_F9 0x65 | ||
| #define kVK_F10 0x6D | ||
| #define kVK_F11 0x67 | ||
| #define kVK_F12 0x6F | ||
| #define kVK_F13 0x69 | ||
| #define kVK_F14 0x6B | ||
| #define kVK_F15 0x71 | ||
| #define kVK_F16 0x6A | ||
|
|
||
| #define kVK_LeftArrow 0x7B | ||
| #define kVK_RightArrow 0x7C | ||
| #define kVK_UpArrow 0x7E | ||
| #define kVK_DownArrow 0x7D | ||
| #define kVK_Tab 0x30 | ||
| #define kVK_Return 0x24 | ||
| #define kVK_Delete 0x33 | ||
| #define kVK_Escape 0x35 | ||
| #define kVK_Space 0x31 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning the unused code.