all repos — mgba @ 6d898542c765f4efc4a094c5ebd3f3465c36f417

mGBA Game Boy Advance Emulator

src/gba/input.c (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#include "input.h"
 7
 8#include "gba/interface.h"
 9
10const struct mInputPlatformInfo GBAInputInfo = {
11	.platformName = "gba",
12	.keyId = (const char*[]) {
13		"A",
14		"B",
15		"Select",
16		"Start",
17		"Right",
18		"Left",
19		"Up",
20		"Down",
21		"R",
22		"L"
23	},
24	.nKeys = GBA_KEY_MAX
25};