all repos — mgba @ 553f345bbd1b26241d3c68f07b983b22ab22d8a0

mGBA Game Boy Advance Emulator

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