From 3d8c3577cbb2dd619f255f4e391d0d155c881b94 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Mon, 10 Mar 2014 14:28:27 +0000 Subject: We need to add some details about repeating keys to the keyboard events docs. Inserting this todo item to later be replaced with something more specific. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/src/events.dox | 2 ++ 1 file changed, 2 insertions(+) (limited to 'documentation') diff --git a/documentation/src/events.dox b/documentation/src/events.dox index b9ba877e3..a6234d25a 100644 --- a/documentation/src/events.dox +++ b/documentation/src/events.dox @@ -172,6 +172,8 @@ currently has focus. This is not necessarily the same widget that received the corresponding \p FL_KEYDOWN event because focus may have changed between events. +\todo Add details on how to detect repeating keys, since on some X servers a repeating key will generate both FL_KEYUP and FL_KEYDOWN, such that to tell if a key is held, you need Fl::event_key(int) to detect if the key is being held down during FL_KEYUP or not. + \subsection events_fl_shortcut FL_SHORTCUT If the Fl::focus() widget is zero or ignores an \p FL_KEYBOARD event -- cgit v1.2.3