forked from Hay1tsme/segatools
swdc: fixed dinput buttons
This commit is contained in:
parent
cc0b6b0953
commit
cadf20040c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user