11 lines
210 B
C
11 lines
210 B
C
#if !defined( KBUTTONH )
|
|
#define KBUTTONH
|
|
#pragma once
|
|
|
|
typedef struct kbutton_s
|
|
{
|
|
int down[2]; // key nums holding it down
|
|
int state; // low bit is down state
|
|
} kbutton_t;
|
|
|
|
#endif // !KBUTTONH
|