mirror of
https://github.com/ENSL/NS.git
synced 2024-12-11 21:31:04 +00:00
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
|