![]() |
![]()
| ![]() |
![]()
NAMEdecode_modifiers - Convert a modifier-bitmap to a textual representation. SYNOPSISmodtbl or modstr
DESCRIPTIONThe input table that is provided as part of the _input event handler has a modifiers field that is a bitmap of different modifier states. This bitmap can be converted to either an integer indexed table of text representations of each present modifier, or as a single concatenated string with the character in separator added between the individual modifiers. If the separator argument is provided, and is a non-empty string, then modstr will be returned. Otherwise modtbl will be returned. The different possible text representations of the modifiers are: "lshift", "rshift", "lalt", "ralt", "lctrl", "rctrl", "lmeta", "rmeta", "num", "caps", "mode" NOTES
EXAMPLEfunction decode_modifiers0()
|