| [ Return to Bugs & Features | Roadmap 1.3 | Post Text | Post File | Prev | Next ]
STR #3260
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 2 - Specific to an operating system |
Subsystem: | MacOS |
Summary: | FLTK's glut and special key combinations on OS X |
Version: | 1.3-feature |
Created By: | bsdooby |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Comments:
[ Post Text ]
|
#1 | bsdooby 06:09 Oct 21, 2015 |
| After some more FLTK testing (on OS X, see also #3257) we encountered the following issues: FLTK's glut does not support the arrow keys (e.g. these keyboard events are not captured in the glutSpecialFunc but in the more generic glutKeyboardFunc callback). The arrow keys are reported there as some UTF-8 sequences (\357). This results in not being able to emulate the missing home/end buttons with the fn+left_arrow, fn+right_arrow key combinations (fn is the Function modifier key on Apple [MacBook Pro] keyboards).
If I remember the API, this is possible with Apple's glut version (albeit I have to test this). There is a "modernized" glut version, based on the last free Apple version with patches and enhancements specific for OS X (see http://github.com/alecjacobson/glut, these modifications themselves are based on the results from http://iihm.imag.fr/blanch/software/glut-macosx/). These patches seem to enable this behaviour (need to test this, too). Maybe someone could analyze this glut branch and fix the behaviour in FLTK's glut? | |
|
#2 | matt 12:30 Feb 02, 2019 |
| Could you please point us at documentation that describes this behavior. It's probably easy to implement, but none of the core developers are using Glut in their daily coding AFAIK. | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |