Page 1 of 1

Apple keyboard scancode question, Cmd, F13

Posted: 22 Jan 2013, 08:31
by xahlee
i always had this question.

does Apple keyboard's Cmd key actually send a different scancode than PC's Win key?

similar question for the F13, F14, F15, vs the Print Screen, Scroll lock, pause/break.

thanks.

Posted: 22 Jan 2013, 17:36
by kps
The Command keys are identical to the Windows keys (and the Meta keys on Sun keyboards); collectively they are the USB "GUI" keys.

For F13 – F15, Apple keyboards send the USB codes for F13 – F15. USB has assigned codes up to F24, so any keyboard with those labels should send those codes.

For more details including the specific codes, see HID Usage Tables available at http://www.usb.org/developers/hidpage#HID_Usage.

Re: AW: Apple keyboard scancode question, Cmd, F13

Posted: 22 Jan 2013, 19:28
by ne0phyte
Or for Windows specifically check the Windows Virtual Keycodes
http://msdn.microsoft.com/en-us/library ... s.85).aspx.

Posted: 24 Jan 2013, 08:41
by xahlee
thanks a lot guys.