mirror of
https://gitea.tendokyu.moe/TeamTofuShop/taitools.git
synced 2026-10-03 20:28:23 +03:00
48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
enum {
|
|
LL3_SYSBTN_TEST = 0x01,
|
|
LL3_SYSBTN_SERVICE = 0x02,
|
|
LL3_SYSBTN_COIN = 0x04,
|
|
LL3_SYSBTN_ENTER = 0x08,
|
|
LL3_SYSBTN_SELECT = 0x10,
|
|
};
|
|
|
|
enum {
|
|
LL3_BTN1 = 0x0001,
|
|
LL3_BTN2 = 0x0002,
|
|
LL3_BTN3 = 0x0004,
|
|
LL3_BTN4 = 0x0008,
|
|
LL3_BTN5 = 0x0010,
|
|
LL3_BTN6 = 0x0020,
|
|
LL3_BTN7 = 0x0040,
|
|
LL3_BTN8 = 0x0080,
|
|
LL3_BTN9 = 0x0100,
|
|
LL3_BTN_DECIDE = 0x0200,
|
|
LL3_BTN_CANCEL = 0x0400,
|
|
};
|
|
|
|
/* Get the version of the Theatrhythm IO API that this DLL supports. This
|
|
function should return a positive 16-bit integer, where the high byte is
|
|
the major version and the low byte is the minor version (as defined by the
|
|
Semantic Versioning standard).
|
|
|
|
The latest API version as of this writing is 0x0100. */
|
|
|
|
uint16_t ll3_io_get_api_version(void);
|
|
|
|
/* Initialize the IO DLL. This is the second function that will be called on
|
|
your DLL, after ll3_io_get_api_version.
|
|
|
|
All subsequent calls to this API may originate from arbitrary threads.
|
|
|
|
Minimum API version: 0x0100 */
|
|
|
|
HRESULT ll3_io_init(void);
|
|
|
|
void ll3_io_poll(uint16_t *game_btn, uint8_t *sys_btn, uint32_t *coinct);
|