User Tools

Site Tools


Sidebar

hpl3:community:scripting:classes:ekeymodifier

Table of Contents

eKeyModifier

Values

Enum Name Integer Value Description
eKeyModifier_None 0 No modifier keys are pressed.
eKeyModifier_Ctrl 1 The control key is pressed.
eKeyModifier_Shift 2 The shift key is pressed.
eKeyModifier_Alt 4 The alt key is pressed.
eKeyModifier_LastEnum 5

Remarks

The eKeyModifier enum type is an implementation of what is known as a Bit Field. Multiple enum values can be combined into a single integer value containing all the combined enum flags. In this case, a single integer can represent that multiple modifier keys, for example “Control” and “Alt”, are being pressed simultaneously. See eFlagBit for an explanation on how to process bit fields.

hpl3/community/scripting/classes/ekeymodifier.txt · Last modified: 2015/11/06 02:50 by abion47