Documentation: clarify how keypad keys are named.
This commit is contained in:
parent
a41d8c0e60
commit
018134161d
3
FL/Fl.H
3
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
|
||||
|
@ -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>.
|
||||
|
Loading…
Reference in New Issue
Block a user