1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-12-18 14:55:51 +01:00
segatools-dniel97/amex/gpio.h

23 lines
376 B
C
Raw Normal View History

#pragma once
#include <windows.h>
2019-11-06 01:36:35 +01:00
#include <stdbool.h>
#include <stdint.h>
struct gpio_config {
bool enable;
uint8_t vk_sw1;
uint8_t vk_sw2;
bool dipsw[8];
};
2019-05-04 19:12:20 +02:00
DEFINE_GUID(
gpio_guid,
0xE9A26688,
0xF522,
0x44FA,
0xBF, 0xEE, 0x59, 0xDD, 0x16, 0x15, 0x56, 0x6C);
2019-05-04 19:12:20 +02:00
HRESULT gpio_hook_init(const struct gpio_config *cfg);