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
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | uint32_t | m_createTime | Holds the client clock when the object was built | inferred | input#input-state |
0x0004 | 4 | uint32_t | m_held | Holds the held command bits; 0x1 and 0x2 are the two primary mouse commands | verified, proof one | input#mouse-commands |
0x0008 | 4 | float | m_travelX | Holds the sum of scaled |dx| since the first primary press | verified, proof two | input#click-versus-drag |
0x000c | 4 | float | m_travelY | Holds the sum of scaled |dy| since the first primary press | verified, proof two | input#click-versus-drag |
0x0010 | 4 | uint32_t | m_motionStamp | Holds a graphics device counter read at the last mouse motion while a command was held | inferred | input#click-versus-drag |
0x0014 | 4 | uint32_t | m_pressTime | Holds the clock time of the first primary press | verified, proof two | input#click-versus-drag |
0x0018 | 4 | uint32_t | m_clickMode | Holds the armed click action, 1 or 2, set to 0 when a release is a drag | verified, proof one | input#click-versus-drag |
Globals of this type
0xbe1148s_inputControl