src/gba/gba-input.h (view raw)
1#ifndef GBA_INPUT_H
2#define GBA_INPUT_H
3
4#include "gba.h"
5
6struct GBAInputMap {
7 struct GBAInputMapImpl* maps;
8 size_t numMaps;
9};
10
11void GBAInputMapInit(struct GBAInputMap*);
12void GBAInputMapDeinit(struct GBAInputMap*);
13
14enum GBAKey GBAInputMapKey(struct GBAInputMap*, uint32_t type, int key);
15void GBAInputBindKey(struct GBAInputMap*, uint32_t type, int key, enum GBAKey input);
16
17#endif