Weird iBook key codes in SDL_QuartzKeys.h - still relevant?

In the keyboard handling code of the Quartz backend of SDL 1.2, at the
bottom of SDL_QuartzKeys.h, there is this:

/* Wierd, these keys are on my iBook under Mac OS X */
#define QZ_IBOOK_ENTER 0x34
#define QZ_IBOOK_LEFT 0x3B
#define QZ_IBOOK_RIGHT 0x3C
#define QZ_IBOOK_DOWN 0x3D
#define QZ_IBOOK_UP 0x3E

ENTER = 0x34 is OK (this is just the keyboard enter key that all Mac
portables have), but the rest looks very strange to me, because these
virtual key codes are already taken by other keys: 0x3B is left ctrl,
0x3C is right shift, 0x3D is right option, and 0x3E is right ctrl.

This code originates from the very first revision of this file by
Darrell Walisser from 2001, time of Mac OS X 10.0. Does anyone know
whether this code is still relevant in the versions of Mac OS X we
support (>= 10.2)? Or does anyone have one of the iBooks that were
around in June 2001 (probably a colored one, the first white one was
only introduced in May 2001) to test this? It seems to me like this
might just have been a workaround for a bug in 10.0, or even Public Beta
or something.

It’s also still present in 1.3 in SDL_cocoakeys.h, but I suppose that’s
just because Sam doesn’t know the answer to my question either.

-Christian

I wrote:


/* Wierd, these keys are on my iBook under Mac OS X */

This code originates from the very first revision of this file by
Darrell Walisser from 2001, time of Mac OS X 10.0.

I just received word from Darrell on this, and he believes that the part
in question was actually added by Sam. So, Sam, do you know anything
about this?

-Christian

I just received word from Darrell on this, and he believes that the part
in question was actually added by Sam. So, Sam, do you know anything
about this?

Yes, they were the scancodes for my iBook as of 10.0 or 10.1.
I haven’t checked to see if they’re still needed yet.

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment