Author: manolo
Date: 2011-03-29 07:22:48 -0700 (Tue, 29 Mar 2011)
New Revision: 8545
Log:
Added info about where to find Mac OS virtual keycodes.
Modified:
branches/branch-1.3/src/Fl_get_key_mac.cxx
Modified: branches/branch-1.3/src/Fl_get_key_mac.cxx
===================================================================
--- branches/branch-1.3/src/Fl_get_key_mac.cxx 2011-03-29 11:19:51 UTC (rev
8544)
+++ branches/branch-1.3/src/Fl_get_key_mac.cxx 2011-03-29 14:22:48 UTC (rev
8545)
@@ -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, '/'
},
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit