idzhook: Fold zinput into idzhook

This commit is contained in:
Tau
2019-11-03 16:12:58 -05:00
parent dfc1e13397
commit 59ad491d08
9 changed files with 64 additions and 25 deletions

View File

@ -1,5 +1,6 @@
#pragma once
#include <stdbool.h>
#include <stddef.h>
#include "amex/config.h"
@ -8,12 +9,19 @@
#include "platform/config.h"
struct zinput_config {
bool enable;
};
struct idz_hook_config {
struct platform_config platform;
struct amex_config amex;
struct aime_config aime;
struct zinput_config zinput;
};
void idz_hook_config_load(
struct idz_hook_config *cfg,
const wchar_t *filename);
void zinput_config_load(struct zinput_config *cfg, const wchar_t *filename);