KeyModifiers::SetCtrlPressed

KeyModifiers::SetCtrlPressed
void SetCtrlPressed(bool v = true);
Description

SetCtrlPressed sets the state of Ctrl key (pressed/unpressed).

Parameters
Parameters 
Description 
bool v = true 
Boolean flag which is used to set the state of the key. A value of true sets the state as pressed, and false as unpressed.