aboutsummaryrefslogtreecommitdiff
path: root/pbank/common.h
blob: 3f4a1c810aa37f08189ae3d80a6fee799827ceee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* common.h -- those things we define often */

#define InRange(v,lo,hi) ((v)<=(hi)&&(v)>=(lo))
#define MAXIUM(a,b) ((a)>(b)?(a):(b))
#define MINIUM(a,b) ((a)<(b)?(a):(b))

#define RetKey 13
#define EnterKey 3
#define SpaceBar 32
#define BackSpace 8
#define BackSlash 0x5C
#define VertBar 0x7C
#define Grave 0x60
#define Tilde 0x7E
#define TabKey 9
#define ClearKey 27
#define OptionSpace 202