1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-05-31 16:41:28 +00:00

add is_down

This commit is contained in:
Stephen Crane 2014-12-17 15:24:03 +00:00
parent 91340c358b
commit 9d092f4e8b

View File

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