mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2026-10-01 15:23:28 -05:00
swdc: fixed dinput buttons
This commit is contained in:
@@ -129,7 +129,7 @@ static HRESULT swdc_io4_poll(void *ctx, struct io4_state *state) {
|
||||
/*
|
||||
Update steering wheel buttons
|
||||
|
||||
Those are connected to the SEGA838-15415 INDICATOR BD MAIN
|
||||
Those are connected to the SEGA 838-15415 INDICATOR BD MAIN
|
||||
USB board which is not emulated for now. So those buttons
|
||||
are hooked to the built-in XInput support.
|
||||
*/
|
||||
|
||||
@@ -408,7 +408,7 @@ static BOOL CALLBACK swdc_di_enum_callback_pedals(
|
||||
static void swdc_di_get_buttons(uint16_t *gamebtn_out)
|
||||
{
|
||||
union swdc_di_state state;
|
||||
uint8_t gamebtn;
|
||||
uint16_t gamebtn;
|
||||
HRESULT hr;
|
||||
|
||||
assert(gamebtn_out != NULL);
|
||||
|
||||
Reference in New Issue
Block a user