fix InputEvent struct
This commit is contained in:
parent
504219aefb
commit
216e5e67b9
13
platform.d
13
platform.d
@ -58,20 +58,11 @@ import core.stdc.string : strlen;
|
|||||||
struct InputEvent
|
struct InputEvent
|
||||||
{
|
{
|
||||||
Input key;
|
Input key;
|
||||||
union
|
|
||||||
{
|
|
||||||
struct
|
|
||||||
{
|
|
||||||
bool pressed;
|
bool pressed;
|
||||||
};
|
i32 x;
|
||||||
struct
|
i32 y;
|
||||||
{
|
|
||||||
i32 rel_x;
|
i32 rel_x;
|
||||||
i32 rel_y;
|
i32 rel_y;
|
||||||
u16 x;
|
|
||||||
u16 y;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Inputs
|
struct Inputs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user