Nuclide
Software Development Kit for id Technology
Main Page
Related Pages
Modules
Classes
input.h
1
// Actually used by input_button etc.
2
#define INPUT_BUTTON0 0x00000001
/* attack 1*/
3
#define INPUT_BUTTON2 0x00000002
/* jumping */
4
#define INPUT_BUTTON3 0x00000004
/* prone */
5
#define INPUT_BUTTON4 0x00000008
/* reload */
6
#define INPUT_BUTTON5 0x00000010
/* secondary */
7
#define INPUT_BUTTON6 0x00000020
/* use */
8
#define INPUT_BUTTON7 0x00000040
/* reserved */
9
#define INPUT_BUTTON8 0x00000080
/* crouching */
10
11
#define INPUT_PRIMARY INPUT_BUTTON0
12
#define INPUT_JUMP INPUT_BUTTON2
13
#define INPUT_PRONE INPUT_BUTTON3
14
#define INPUT_RELOAD INPUT_BUTTON4
15
#define INPUT_SECONDARY INPUT_BUTTON6
16
#define INPUT_USE INPUT_BUTTON5
/* This can NEVER change. Engine hard-coded. */
17
#define INPUT_SPRINT INPUT_BUTTON7
18
#define INPUT_CROUCH INPUT_BUTTON8
src
shared
input.h
2009-2024 (C) Nuclide is a project by
Vera Visions, L.L.C.
and is available under the
ISC License
.