benilla-re systems structs docs

CInputControl

struct · input · 28 bytes

Meaning
Holds the world input state: held commands, travel sums, times and the armed click
Confidence
verified, proof one
Finding
input#input-state

Finding: Input state in input

One CInputControl exists: 28 bytes, allocated with the tag ...\UIUtil\InputControl.h (0x850378), built by 0x5143c0 and kept at 0xbe1148, which 0x5143e0 returns. The constructor clears the held commands (+0x04), the press time (+0x14) and the click mode (+0x18), stores the client clock at +0x00, and leaves the travel sums alone.

The derivation is in the doc.

Fields 7

offsetsizetypenamemeaningconfidencefinding
0x00004uint32_tm_createTimeHolds the client clock when the object was builtinferredinput#input-state
0x00044uint32_tm_heldHolds the held command bits; 0x1 and 0x2 are the two primary mouse commandsverified, proof oneinput#mouse-commands
0x00084floatm_travelXHolds the sum of scaled |dx| since the first primary pressverified, proof twoinput#click-versus-drag
0x000c4floatm_travelYHolds the sum of scaled |dy| since the first primary pressverified, proof twoinput#click-versus-drag
0x00104uint32_tm_motionStampHolds a graphics device counter read at the last mouse motion while a command was heldinferredinput#click-versus-drag
0x00144uint32_tm_pressTimeHolds the clock time of the first primary pressverified, proof twoinput#click-versus-drag
0x00184uint32_tm_clickModeHolds the armed click action, 1 or 2, set to 0 when a release is a dragverified, proof oneinput#click-versus-drag

Globals of this type