1
0
mirror of synced 2024-12-02 17:07:17 +01:00
bananatools/ferrumio/config.h

30 lines
656 B
C
Raw Normal View History

2023-01-03 05:35:53 +01:00
#pragma once
#include <stddef.h>
#include <stdint.h>
struct ferrum_najv4_config {
uint8_t test;
uint8_t service;
uint8_t up;
uint8_t down;
uint8_t enter;
uint8_t coin;
};
struct ferrum_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 ferrum_io_najv4_config_load(struct ferrum_najv4_config *cfg, const wchar_t *filename);
void ferrum_io_gamepad_config_load(struct ferrum_gamepad_config *cfg, const wchar_t *filename);