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 diff --git a/documentation/src/enumerations.dox b/documentation/src/enumerations.dox index b7c04d055..6612976c6 100644 --- a/documentation/src/enumerations.dox +++ b/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 FL_KP + n - for number n. + - FL_KP - One of the keypad numbers or keys; use FL_KP + 'n' + for number n and, say, FL_KP + '*'. - FL_KP_Enter - The enter key on the keypad. - FL_F - One of the function keys; use FL_F + n for function key n.