src/gba/gui/remap.h (view raw)
1/* Copyright (c) 2013-2016 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#ifndef GUI_REMAP_H
7#define GUI_REMAP_H
8
9#include "util/common.h"
10
11struct GUIInputKeys {
12 const char* name;
13 uint32_t id;
14 const char* const* keyNames;
15 size_t nKeys;
16};
17
18struct GUIParams;
19struct GBAInputMap;
20
21void GBAGUIRemapKeys(struct GUIParams*, struct GBAInputMap*, const struct GUIInputKeys*);
22
23#endif