Returns an integer describing which modifiers are currently active.
A CAPI pane.
An integer or
pane-modifiers-state returns an integer describing which modifiers are currently pressed. The modifiers are
Command on Mac OS X). It also describes whether Caps Lock is currently on.
should be a pane that is displayed on the screen. If it is not displayed,
The result is a
cl:logior of the
sys:gesture-spec-*-bit constants for the active modifiers. For example, to check if the
Control modifier is currently pressed call:
(logtest (pane-modifiers-state pane)
The possible bits are:
The Caps Lock bit behaves in a special way: it is on when Caps is locked, rather than when the
Caps Lock key is pressed.
sys:gesture-spec-hyper-bit is for
output-pane supports responding to modifier changes - see
:modifier-change in the
sys:gesture-spec-shift-bit and so on are documented in the
LispWorks User Guide and Reference Manual
CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015