benilla-re systems structs docs

CInputControl::EmitForwardAxis

function · input · primitive

Address
0x514da0 · 221 bytes, up to 0x514e7c
Meaning
Sums autorun, forward, mouse and backward into a signed axis and starts or stops the unit
Confidence
verified, proof one
Finding
input#the-forward-axis

Finding: The forward axis in input

0x514da0 adds up the forward direction: autorun (0x1000) +1, MoveForward (0x10) +1, the mouse turn and mouse camera commands both held (0x1 and 0x2) +1, MoveBackward (0x20) -1. A nonzero total starts movement forward (positive) or backward (negative) through 0x60dc60; a zero total with the latch bit 0x10000 set stops movement and clears the latch. A start sets the latch.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.