view Renderer/Engine/KeyStat.h @ 761:c0a8af52fa43 draft

add lights
author yutaka@henri.cr.ie.u-ryukyu.ac.jp
date Sat, 06 Feb 2010 03:02:48 +0900
parents 3bc98f6d31ff
children eb6add789a24
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