1
0
mirror of synced 2024-12-04 01:47:25 +01:00
bananatools/kizunaio/config.h

30 lines
551 B
C
Raw Normal View History

#pragma once
#include <stddef.h>
#include <stdint.h>
#pragma pack(push, 1)
struct kizuna_input_config {
uint8_t test;
uint8_t service;
uint8_t up;
uint8_t down;
uint8_t enter;
uint8_t coin;
uint8_t stick_up;
uint8_t stick_down;
uint8_t stick_left;
uint8_t stick_right;
uint8_t stick_btn1;
uint8_t stick_btn2;
uint8_t stick_btn3;
uint8_t btn1;
uint8_t btn2;
uint8_t btn3;
};
#pragma pack(pop)
void kizuna_io_config_load(struct kizuna_input_config *cfg, const wchar_t *filename);