From 2c6c05c37dfc8e52f6e778bbe85c48f94e68c074 Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Mon, 2 Feb 2009 14:12:52 +0000 Subject: adding pbank from nslam, with autor autorisation svn path=/trunk/externals/nusmuk/; revision=10714 --- pbank/common.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pbank/common.h (limited to 'pbank/common.h') diff --git a/pbank/common.h b/pbank/common.h new file mode 100644 index 0000000..3f4a1c8 --- /dev/null +++ b/pbank/common.h @@ -0,0 +1,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 -- cgit v1.2.1