coastline
0.0.4
Loading...
Searching...
No Matches
src
common
inputbinding.h
Go to the documentation of this file.
1
#pragma once
2
7
9
#define INPUT_BINDING_COUNT 28
10
12
struct
InputBinding
{
14
unsigned
short
wControl
;
16
unsigned
short
awAlternateControls
[2];
17
};
18
25
extern
struct
InputBinding
g_awDefaultKeyBindingsDevice0
[
INPUT_BINDING_COUNT
];
26
33
extern
struct
InputBinding
g_awDefaultKeyBindingsDevice1
[
INPUT_BINDING_COUNT
];
34
41
extern
struct
InputBinding
g_awDefaultKeyBindingsDevice2
[
INPUT_BINDING_COUNT
];
42
49
extern
struct
InputBinding
g_awDefaultKeyBindingsDevice3
[
INPUT_BINDING_COUNT
];
g_awDefaultKeyBindingsDevice3
struct InputBinding g_awDefaultKeyBindingsDevice3[INPUT_BINDING_COUNT]
The default bindings of the third game controller.
INPUT_BINDING_COUNT
#define INPUT_BINDING_COUNT
The number of controls a binding table has.
Definition
inputbinding.h:9
g_awDefaultKeyBindingsDevice0
struct InputBinding g_awDefaultKeyBindingsDevice0[INPUT_BINDING_COUNT]
The default bindings of the keyboard.
g_awDefaultKeyBindingsDevice1
struct InputBinding g_awDefaultKeyBindingsDevice1[INPUT_BINDING_COUNT]
The default bindings of the first game controller.
g_awDefaultKeyBindingsDevice2
struct InputBinding g_awDefaultKeyBindingsDevice2[INPUT_BINDING_COUNT]
The default bindings of the second game controller.
InputBinding
The binding of one control of the game to a key, a button, or an axis.
Definition
inputbinding.h:12
InputBinding::awAlternateControls
unsigned short awAlternateControls[2]
More controls of the defaults that select the binding, 0 where another binding uses one.
Definition
inputbinding.h:16
InputBinding::wControl
unsigned short wControl
The key or button in the low byte and the kind of device in the high.
Definition
inputbinding.h:14
Generated by
1.15.0