IsCapsLockEnabled: Difference between revisions
Jump to navigation
Jump to search
m (Update version requirements) |
Fernando187 (talk | contribs) (Remove obsolete Requirements section) |
||
Line 15: | Line 15: | ||
end | end | ||
addCommandHandler("caps", checkCaps)</syntaxhighlight> | addCommandHandler("caps", checkCaps)</syntaxhighlight> | ||
==See Also== | ==See Also== | ||
{{Input functions}} | {{Input functions}} |
Latest revision as of 17:32, 7 November 2024
Syntax
bool isCapsLockEnabled()
Returns
Returns true if caps lock is toggled (on), false otherwise.
Example
function checkCaps() iprint(isCapsLockEnabled(), getTickCount()) end addCommandHandler("caps", checkCaps)
See Also
- addCommandHandler
- bindKey
- executeCommandHandler
- getCommandHandlers
- getFunctionsBoundToKey
- getKeyBoundToFunction
- isControlEnabled
- removeCommandHandler
- toggleAllControls
- toggleControl
- unbindKey