all repos — mgba @ ab4d35c7d90a4eaab59f3cd6d5bb8846fa6b4ec3

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