KeyModifiers Class Reference

Public Slots

bool IsShiftPressed ()
 Check if the Shift key is pressed. More...
 
bool IsControlPressed ()
 Check if the Ctrl key is pressed. More...
 
bool IsAlternatePressed ()
 Check if the Alt key is pressed. More...
 
bool IsSpacePressed ()
 Check if the space key is pressed. More...
 

Detailed Description

Scripting interface class to query key modifiers.

You can use it in Script Editor only.

Member Function Documentation

◆ IsAlternatePressed

bool KeyModifiers::IsAlternatePressed ( )
slot

Check if the Alt key is pressed.

◆ IsControlPressed

bool KeyModifiers::IsControlPressed ( )
slot

Check if the Ctrl key is pressed.

◆ IsShiftPressed

bool KeyModifiers::IsShiftPressed ( )
slot

Check if the Shift key is pressed.

◆ IsSpacePressed

bool KeyModifiers::IsSpacePressed ( )
slot

Check if the space key is pressed.