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 - F-keys past 12 not detected by SDL 1.2.11
Summary: F-keys past 12 not detected by SDL 1.2.11
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 1.2.11
Hardware: PowerPC Mac OS X (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-13 11:28 UTC by ischmidt
Modified: 2007-02-14 05:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.