diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2009-02-02 14:12:52 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2009-02-02 14:12:52 +0000 |
commit | 2c6c05c37dfc8e52f6e778bbe85c48f94e68c074 (patch) | |
tree | 4906ce5f2facd688caacbd4b98d1e29dfa83da62 /pbank/common.h | |
parent | 61d0996525d4f76135ed4d1a21aa9a1a40df01b5 (diff) |
adding pbank from nslam, with autor autorisation
svn path=/trunk/externals/nusmuk/; revision=10714
Diffstat (limited to 'pbank/common.h')
-rw-r--r-- | pbank/common.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 |