Index       Keyboard

trap_Key_GetKey

Description

In the Q3 source it is used twice - once on level load and in G_Spawn where it is called whenever an entity is created.
Returns keynum of the key that has the binding specified by binding.

Prototype

    int trap_Key_GetKey(
        const char *binding
    );

Parameters

Remarks

Case-sensitive.
Unknown: what happens when many keys have this binding.

Return value

See also

Author(s)

PhaethonH


QuakeIII trap calls reference