From c64fa4863ea8c32597453ff5405788f99a219f6f Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 29 Mar 2011 14:22:48 +0000 Subject: [PATCH] Added info about where to find Mac OS virtual keycodes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_get_key_mac.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Fl_get_key_mac.cxx b/src/Fl_get_key_mac.cxx index 126b17806..ab75507f5 100644 --- a/src/Fl_get_key_mac.cxx +++ b/src/Fl_get_key_mac.cxx @@ -36,6 +36,8 @@ // convert an FLTK (X) keysym to a MacOS symbol: // See also the inverse converter in table macKeyLookUp of Fl_cocoa.mm // This table is in numeric order by FLTK symbol order for binary search: +// The list of Mac OS virtual keycodes appears with OS 10.5 in +// ...../Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h static const struct {unsigned short vk, fltk;} vktab[] = { { 49, ' ' }, { 39, '\'' }, { 43, ',' }, { 27, '-' }, { 47, '.' }, { 44, '/' },