STR #3260

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

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
Summary:FLTK's glut and special key combinations on OS X
Created By:bsdooby
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#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, these modifications themselves are based on the results from 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.  
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]


Comments are owned by the poster. All other content is copyright 1998-2023 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.