view TaskManager/Test/test_render/KeyStat.h @ 463:60f44d3ea452 draft

remove run()
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 29 Sep 2009 15:45:11 +0900
parents 6094dfd1f08c
children
line wrap: on
line source

#ifndef INCLUDED_KEY_STATUS
#define INCLUDED_KEY_STATUS

enum {
    NONE,
    HOLD,
    PUSH,
};

// 可変長の構造体にする。
// int で1つ送り bit field でやると
struct key_stat {
    int length;
    int right;
    int left;
    int up;
    int down;
    int circle;
    unsigned char data[0];
};

#endif