BuildMouseChord
function · ui · primitive
- Address
0x4b6aa0· 392 bytes, up to0x4b6c27- Signature
bool __fastcall (void *mouseEvent, char *dst, int size)- Meaning
- Builds the chord string of a mouse button or wheel event
- Confidence
- verified, proof one
- Finding
- ui/keybindings#mouse-names
Finding: Mouse names in ui: key bindings
0x4b6aa0 names a mouse event the same way, with the modifier mask from the event's +0x1c. A wheel event
is MOUSEWHEELUP for a delta of 0 or more and MOUSEWHEELDOWN below. The buttons are named by the single bit of the
button mask: bit 1 BUTTON1, bit 2 BUTTON3, bit 4 BUTTON2, bit 8 BUTTON4, bit 0x10 BUTTON5, and a
higher bit BUTTON<n> counted from bit 3. So the middle button is BUTTON3 and the right is BUTTON2.
The derivation is in the doc.
Callers 3
Callees 3
- AppendModifierPrefixes ui
- SStrCopy storm
- SStrPrintf storm
Calls and jumps by a bare address, from tables/calls.tsv.