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