all repos — mgba @ b4cd441ef46c878909431d141bf0bf5e82508178

mGBA Game Boy Advance Emulator

include/mgba/internal/gb/input.h (view raw)

 1/* Copyright (c) 2013-2019 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 GB_INPUT_H
 7#define GB_INPUT_H
 8
 9#include <mgba-util/common.h>
10
11CXX_GUARD_START
12
13#include <mgba/core/input.h>
14
15enum GBKey {
16	GB_KEY_A = 0,
17	GB_KEY_B = 1,
18	GB_KEY_SELECT = 2,
19	GB_KEY_START = 3,
20	GB_KEY_RIGHT = 4,
21	GB_KEY_LEFT = 5,
22	GB_KEY_UP = 6,
23	GB_KEY_DOWN = 7,
24	GB_KEY_MAX,
25};
26
27CXX_GUARD_END
28
29#endif