Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/KeyStat.h @ 421:6094dfd1f08c draft
comment
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 12:35:32 +0900 |
parents | 0e62e80fc039 |
children | 60f44d3ea452 |
line wrap: on
line source
#ifndef INCLUDED_KEY_STATUS #define INCLUDED_KEY_STATUS enum { NONE, HOLD, PUSH, }; // 可変長の構造体にする。 // int で1つ送り bit field でやると typedef struct key_stat { int length; int right; int left; int up; int down; int circle; unsigned char data[0]; }; #endif