diff include/Cerium/KeyStat.h @ 0:04e28d8d3c6f

first commit
author Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp>
date Mon, 08 Nov 2010 01:23:25 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/Cerium/KeyStat.h	Mon Nov 08 01:23:25 2010 +0900
@@ -0,0 +1,16 @@
+#ifndef INCLUDED_KEY_STATUS
+#define INCLUDED_KEY_STATUS
+
+// 可変長の構造体にする。
+// int で1つ送り bit field でやると
+struct key_stat {
+    int length;
+    int right;
+    int left;
+    int up;
+    int down;
+    int circle;
+    unsigned char data[0];
+};
+
+#endif