bananatools/mkacio/config.h
2023-09-18 04:05:22 -04:00

30 lines
644 B
C

#pragma once
#include <stddef.h>
#include <stdint.h>
struct mkac_najv4_config {
uint8_t test;
uint8_t service;
uint8_t up;
uint8_t down;
uint8_t enter;
uint8_t coin;
};
struct mkac_gamepad_config {
uint8_t dpad_up;
uint8_t dpad_down;
uint8_t dpad_left;
uint8_t dpad_right;
uint8_t btn_a;
uint8_t btn_b;
uint8_t btn_x;
uint8_t btn_y;
uint8_t trigger_l;
uint8_t trigger_r;
uint8_t btn_start;
};
void mkac_io_najv4_config_load(struct mkac_najv4_config *cfg, const wchar_t *filename);
void mkac_io_gamepad_config_load(struct mkac_gamepad_config *cfg, const wchar_t *filename);