From 018134161d48a7fe005d714306d4fa531db24dc9 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 23 Nov 2020 11:44:28 +0100 Subject: Documentation: clarify how keypad keys are named. --- FL/Fl.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl.H b/FL/Fl.H index 53be2f054..a5c4ea9ad 100644 --- a/FL/Fl.H +++ b/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 -- cgit v1.2.3