mirror of
https://gitea.tendokyu.moe/TeamTofuShop/segatools.git
synced 2026-09-22 22:37:59 +03:00
* Rewrote the input handler Added support for dinput and xinput, full keyboard slider cell binding (#127), hold-takeovers, button alternation and auto-sliding (PS4 behaviour). See segatools.ini for a detailed description about everything. * Split touch handling into backends and added Wintouch touch emulation Now you can use actual touchscreens as well as mouse emulation was not the greatest when trying to use an actual touchscreen. * Fixed input issues gamebtns was always uninitialized, so good luck trying to do anything. How did nobody ever complain about this? lol * Fixed resolution issues caused by chaining both gfx hooks The diva-specific hook is the only one we need. Stacking both has strange effects. * Added support for the MITSUBISHI CP9550DS printer Q: Why? A: /shrug  I am not particularly good at this game (or the pass requirements are insane, 23+12 misses out of ~550 is a fail!?), so if someone could test how this feels as opposed to the PS4 version, that would help a lot!  Also something that happens but that I can't reliably reproduce is that my aime card reader randomly becomes NG after a dozen game starts until I delete eeprom.bin. If that is the case, the only packet sent is SEND_HEX_DATA. Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/129 Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com> Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
39 lines
879 B
C
39 lines
879 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "amex/amex.h"
|
|
|
|
#include "board/sg-reader.h"
|
|
|
|
#include "hooklib/dvd.h"
|
|
#include "hooklib/printer_cp.h"
|
|
|
|
#include "gfxhook/config.h"
|
|
|
|
#include "platform/config.h"
|
|
|
|
#include "divahook/diva-dll.h"
|
|
#include "divahook/slider.h"
|
|
#include "divahook/elo.h"
|
|
|
|
struct diva_hook_config {
|
|
struct platform_config platform;
|
|
struct amex_config amex;
|
|
struct aime_config aime;
|
|
struct dvd_config dvd;
|
|
struct gfx_config gfx;
|
|
struct diva_dll_config dll;
|
|
struct slider_config slider;
|
|
struct elo_config touch;
|
|
struct printer_cp_config printer;
|
|
};
|
|
|
|
void diva_dll_config_load(
|
|
struct diva_dll_config *cfg,
|
|
const wchar_t *filename);
|
|
void slider_config_load(struct slider_config *cfg, const wchar_t *filename);
|
|
void diva_hook_config_load(
|
|
struct diva_hook_config *cfg,
|
|
const wchar_t *filename);
|