view 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 source

#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