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