|
|
commit 018134161d48a7fe005d714306d4fa531db24dc9
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Mon Nov 23 11:44:28 2020 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Mon Nov 23 11:44:42 2020 +0100
Documentation: clarify how keypad keys are named.
FL/Fl.H | 3 ++-
documentation/src/enumerations.dox | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git FL/Fl.H FL/Fl.H
index 53be2f0..a5c4ea9 100644
--- FL/Fl.H
+++ FL/Fl.H
@@ -816,7 +816,8 @@ int main() {
character use the value of that ASCII character (as though shift,
ctrl, and caps lock were not on). The space bar is 32.
\li All keys on the numeric keypad producing a printable ASCII
- character use the value of that ASCII character plus FL_KP.
+ character use the value of that ASCII character plus FL_KP
+ (e.g., FL_KP + '4', FL_KP + '/').
The highest possible value is FL_KP_Last so you can
range-check to see if something is on the keypad.
\li All numbered function keys use the number on the function key plus
diff --git documentation/src/enumerations.dox documentation/src/enumerations.dox
index b7c04d0..6612976 100644
--- documentation/src/enumerations.dox
+++ documentation/src/enumerations.dox
@@ -126,8 +126,8 @@ FL_KEYBOARD and FL_SHORTCUT events:
- FL_Insert - The insert key.
- FL_Menu - The menu key.
- FL_Num_Lock - The num lock key.
- - FL_KP - One of the keypad numbers; use <tt>FL_KP + n</tt>
- for number <tt>n</tt>.
+ - FL_KP - One of the keypad numbers or keys; use <tt>FL_KP + 'n'</tt>
+ for number <tt>n</tt> and, say, <tt>FL_KP + '*'</tt>.
- FL_KP_Enter - The enter key on the keypad.
- FL_F - One of the function keys; use <tt>FL_F + n</tt>
for function key <tt>n</tt>.
[ Direct Link to Message ] | |
|
| |