gameboy wormboy manboy gameworm gameman wormgame mangame manworm

Dependencies:   mbed SDFileSystem2

Revision:
17:c9afe1a7b423
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/types.h	Sun Jan 13 19:00:10 2019 +0000
@@ -0,0 +1,28 @@
+#ifndef GBC_TYPES_H
+#define GBC_TYPES_H
+
+#include <stdint.h>
+
+#define u8 uint8_t
+#define u16 uint16_t
+#define u32 uint32_t
+#define s8 int8_t
+#define s16 int16_t
+#define s32 int32_t
+#define nullptr NULL
+
+//using u8 = uint8_t;
+//using u16 = uint16_t;
+//using u32 = uint32_t;
+//
+//using s8 = int8_t;
+//using s16 = int16_t;
+//using s32 = int32_t;
+
+struct KeyState {
+  bool a,b,u,d,l,r,start,select,turbo, save, load;
+};
+
+extern KeyState keyboard;
+
+#endif //GBC_TYPES_H