diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2002-10-30 01:01:53 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2002-10-30 01:01:53 +0000 |
| commit | 36656517e6646a0bd8c287040ec57438cc686890 (patch) | |
| tree | 642ad8f01bd6920a8da183259821bcb2aa91270e /documentation/osissues.html | |
| parent | a5131e195974d6b61a9763e2bca9dc02bf36e474 (diff) | |
Unswapped MacOS modifier keys. event_key and event_text should return
the expected values now.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/osissues.html')
| -rw-r--r-- | documentation/osissues.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/documentation/osissues.html b/documentation/osissues.html index 51be95f30..6c1720f84 100644 --- a/documentation/osissues.html +++ b/documentation/osissues.html @@ -591,6 +591,15 @@ the above systems without changes. The OS X GNU (gcc) compiler, however, creates Mach-O binaries which are not supported by MacOS 9 and earlier. +<H4>control, option and command modifier keys</H4> + +<P>FLTK maps the Mac 'control' key to FL_CTRL, the 'option' key +to FL_ALT and the 'Apple' key to FL_META. Keyboard events return +the key name in Fl::event_key and the keystroke translation in +Fl::event_text. For example, typing Option-Y on a Mac keyboard +will set FL_ALT in Fl::event_state, set Fl::event_key to 'y' +and return the Yen symbol in Fl::event_text. + <H4>WindowRef fl_xid(const Fl_Window *)</H4> <P>Returns the window reference for an <tt>Fl_Window</tt>, or |
