mirror of
https://github.com/libretro/fixGB.git
synced 2024-12-03 15:30:46 +00:00
e5004bf4a7
-made the libretro port work a bit smoother
27 lines
547 B
C
27 lines
547 B
C
/*
|
|
* Copyright (C) 2017 FIX94
|
|
*
|
|
* This software may be modified and distributed under the terms
|
|
* of the MIT license. See the LICENSE file for details.
|
|
*/
|
|
|
|
#ifndef _INPUT_H_
|
|
#define _INPUT_H_
|
|
|
|
#define BUTTON_A 0
|
|
#define BUTTON_B 1
|
|
#define BUTTON_SELECT 2
|
|
#define BUTTON_START 3
|
|
#define BUTTON_UP 4
|
|
#define BUTTON_DOWN 5
|
|
#define BUTTON_LEFT 6
|
|
#define BUTTON_RIGHT 7
|
|
|
|
void inputInit();
|
|
void inputClear();
|
|
uint8_t inputGet8(uint16_t addr);
|
|
void inputSet8(uint16_t addr, uint8_t in);
|
|
bool inputAny();
|
|
|
|
#endif
|