PCL
|
Defines PCL key modifier codes. More...
The KeyModifier namespace defines platform-independent key modifiers on the PixInsight/PCL framework. Key modifiers are sent to event handlers (such as Control::OnKeyPress(), Control::OnMousePress(), etc.) and used to specify keyboard shortcuts; see for example Action::SetAccelerator().
To query the current state of supported keyboard modifier keys in real time, see the pcl::KeyboardModifier namespace and the CurrentKeyboardModifiers() global function, defined and declared, respectively, in the pcl/KeyCodes.h header file.
KeyModifier::Shift | Shift key |
KeyModifier::Control | Control key (Command key on macOS) |
KeyModifier::Alt | Alt key |
KeyModifier::SpaceBar | Space bar |
KeyModifier::Meta | Meta key (Control key on macOS) |