mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-28 07:12:18 +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
|