Bit field values for entvars_t.buttons.
Used by players to determine which buttons have been pressed
| Name | Value | Description |
|---|---|---|
| IN_ATTACK | 1 | Primary attack |
| IN_JUMP | 2 | Jump |
| IN_DUCK | 4 | Duck |
| IN_FORWARD | 8 | Move forward |
| IN_BACK | 16 | Move backward |
| IN_USE | 32 | Use |
| IN_CANCEL | 64 | |
| IN_LEFT | 128 | |
| IN_RIGHT | 256 | |
| IN_MOVELEFT | 512 | Move left |
| IN_MOVERIGHT | 1024 | Move right |
| IN_ATTACK2 | 2048 | Secondary attack |
| IN_RUN | 4096 | Run/Walk |
| IN_RELOAD | 8192 | Reload |
| IN_ALT1 | 16384 | Tertiary attack |
| IN_SCORE | 32768 | Used by client.dll for when scoreboard is held down |