Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Merged r2975:2976 from branches/SDL-1.2: Mac OS X F13-15 key support.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 14, 2007
1 parent 8ec2c68 commit ee51f91
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/video/cocoa/SDL_cocoakeyboard.m
Expand Up @@ -77,9 +77,14 @@
keymap[KEY_F10] = SDLK_F10;
keymap[KEY_F11] = SDLK_F11;
keymap[KEY_F12] = SDLK_F12;
keymap[KEY_F13] = SDLK_F13;
keymap[KEY_F14] = SDLK_F14;
keymap[KEY_F15] = SDLK_F15;
/*
keymap[KEY_PRINT] = SDLK_PRINT;
keymap[KEY_SCROLLOCK] = SDLK_SCROLLOCK;
keymap[KEY_PAUSE] = SDLK_PAUSE;
*/
keymap[KEY_POWER] = SDLK_POWER;
keymap[KEY_BACKQUOTE] = SDLK_BACKQUOTE;
keymap[KEY_1] = SDLK_1;
Expand Down
5 changes: 5 additions & 0 deletions src/video/cocoa/SDL_cocoakeys.h
Expand Up @@ -36,9 +36,14 @@
#define KEY_F10 0x6D
#define KEY_F11 0x67
#define KEY_F12 0x6F
#define KEY_F13 0x69
#define KEY_F14 0x6B
#define KEY_F15 0x71
/*
#define KEY_PRINT 0x69
#define KEY_SCROLLOCK 0x6B
#define KEY_PAUSE 0x71
*/
#define KEY_POWER 0x7F
#define KEY_BACKQUOTE 0x32
#define KEY_1 0x12
Expand Down

0 comments on commit ee51f91

Please sign in to comment.