summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-03-29 14:22:48 +0000
committerManolo Gouy <Manolo>2011-03-29 14:22:48 +0000
commitc64fa4863ea8c32597453ff5405788f99a219f6f (patch)
tree77a3676ac41d27041ddab0c216a6a2a7cfd1096a /src
parent5cda7e72321c0766f0d70bd6c4269fa51f87b811 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_get_key_mac.cxx2
1 files changed, 2 insertions, 0 deletions
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, '/' },