add is_down

This commit is contained in:
Stephen Crane 2014-12-17 15:24:03 +00:00
parent 91340c358b
commit 9d092f4e8b
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ public:
unsigned read2();
};
#define is_down(scan) ((scan) < 0x100)
#define PS2_F1 0x05
#define PS2_F2 0x06
#define PS2_F3 0x04