diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2003-05-28 05:10:05 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2003-05-28 05:10:05 +0000 |
| commit | 1d4edf5fb93fffc9d81a75b40c5e28235d3147c9 (patch) | |
| tree | 52d13cef1dc566a3622c806d58409692d0ac7a80 /src/Fl_get_key_mac.cxx | |
| parent | 9636dd13c147e93636258eca6d510235821bcf3e (diff) | |
Mac OS X's version of Fl::get_key(int) would mixup ctrl and meta.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_get_key_mac.cxx')
| -rw-r--r-- | src/Fl_get_key_mac.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_get_key_mac.cxx b/src/Fl_get_key_mac.cxx index a50d185df..dfb22b155 100644 --- a/src/Fl_get_key_mac.cxx +++ b/src/Fl_get_key_mac.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_get_key_mac.cxx,v 1.1.2.6 2003/01/30 21:43:05 easysw Exp $" +// "$Id: Fl_get_key_mac.cxx,v 1.1.2.7 2003/05/28 05:10:05 matthiaswm Exp $" // // MacOS keyboard state routines for the Fast Light Tool Kit (FLTK). // @@ -59,8 +59,8 @@ static const struct {unsigned short vk, fltk;} vktab[] = { { 0x7a, FL_F+1 }, { 0x78, FL_F+2 }, { 0x63, FL_F+3 }, { 0x76, FL_F+4 }, { 0x60, FL_F+5 }, { 0x61, FL_F+6 }, { 0x62, FL_F+7 }, { 0x64, FL_F+8 }, { 0x65, FL_F+9 }, { 0x6D, FL_F+10 }, { 0x67, FL_F+11 }, { 0x6f, FL_F+12 }, - { 56, FL_Shift_L }, { 56, FL_Shift_R }, { 55, FL_Control_L }, { 55, FL_Control_R }, - { 57, FL_Caps_Lock }, { 59, FL_Meta_L }, { 59, FL_Meta_R }, + { 56, FL_Shift_L }, { 56, FL_Shift_R }, { 59, FL_Control_L }, { 59, FL_Control_R }, + { 57, FL_Caps_Lock }, { 55, FL_Meta_L }, { 55, FL_Meta_R }, { 58, FL_Alt_L }, { 58, FL_Alt_R }, }; @@ -99,5 +99,5 @@ int Fl::get_key(int k) { } // -// End of "$Id: Fl_get_key_mac.cxx,v 1.1.2.6 2003/01/30 21:43:05 easysw Exp $". +// End of "$Id: Fl_get_key_mac.cxx,v 1.1.2.7 2003/05/28 05:10:05 matthiaswm Exp $". // |
