We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 301

Summary: F-keys past 12 not detected by SDL 1.2.11
Product: SDL Reporter: ischmidt
Component: eventsAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.11   
Hardware: PowerPC   
OS: Mac OS X (All)   

Description ischmidt 2006-08-13 11:28:13 UTC
As per the summary, pressing F13/F14/F15/F16 does not generate an SDL_KEYDOWN event using SDL 1.2.11 on OS X 10.4.7 (both PPC and Intel were tested).  This is with the standard Apple white USB keyboard they ship with everything for the last 2 years or so.
Comment 1 Vincent Vansuyt 2006-09-02 16:47:29 UTC
If you use DevCpp, F12 is used by this EDI in debug mode...
Comment 2 Ryan C. Gordon 2007-02-14 05:28:26 UTC
We currently have these set up as PrintScreen, ScrollLock, and Pause...as they would be on a PC's USB keyboard.

I guess we should err on the side of the standard Apple keyboard here, since the USB ones they ship have F13-15 and the laptops don't have either the extra function keys or the PC keys in question...I wonder if there's a better way to handle this internally, though. For now, the Mac port will use F13 through F15.

I don't have a keyboard with F16 (including what I think is the one that shipped with my Intel iMac), so if that wasn't a typo, you're out of luck on that key for now.

Fixed in svn revision #2976 for the 1.2 branch and #2977 for the 1.3 branch.

--ryan.