reverted ugly keyboard handling
This commit is contained in:
@@ -110,17 +110,10 @@ typedef struct
|
||||
|
||||
typedef u8 tic_key;
|
||||
|
||||
typedef struct
|
||||
typedef union
|
||||
{
|
||||
union
|
||||
{
|
||||
tic_key keys[TIC80_KEY_BUFFER];
|
||||
u32 data;
|
||||
};
|
||||
|
||||
s8 text;
|
||||
u8 temp[3];
|
||||
|
||||
tic_key keys[TIC80_KEY_BUFFER];
|
||||
u32 data;
|
||||
} tic80_keyboard;
|
||||
|
||||
typedef struct
|
||||
@@ -128,6 +121,7 @@ typedef struct
|
||||
tic80_gamepads gamepads;
|
||||
tic80_mouse mouse;
|
||||
tic80_keyboard keyboard;
|
||||
|
||||
} tic80_input;
|
||||
|
||||
TIC80_API tic80* tic80_create(s32 samplerate);
|
||||
|
||||
Reference in New Issue
Block a user