Fumofumotris/source/io/platforms/parseinput.h

16 lines
384 B
C
Raw Normal View History

2024-04-24 23:37:47 +00:00
#include <iso646.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "fumotris.h"
#include "input.h"
void ReadButton(struct InputRecord *rec, u16f bind, bool is_down);
2024-04-24 23:37:47 +00:00
void ReadAxis(struct InputRecord *rec, u16f bind, u64 value);
2024-04-24 23:37:47 +00:00
void ReadJoystick(struct InputRecord *rec, u16f bind, i32 x, i32 y);
size_t UCS2ToUTF8(char *buf, u16f ucs2);