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