From 3c803e2db4ebaa6b9d51387a122b5859f617412a Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Sat, 15 Jan 2022 23:18:52 -0500 Subject: [PATCH] changed default vol buttons to up and down because that's what a sane person would set them to --- dist/mercury/segatools.ini | 4 ++-- mercuryio/config.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/mercury/segatools.ini b/dist/mercury/segatools.ini index 4dac2cf..009ce65 100644 --- a/dist/mercury/segatools.ini +++ b/dist/mercury/segatools.ini @@ -37,6 +37,6 @@ subnet=192.168.250.0 ; Input API selection for JVS input emulator. test=0x2D service=0x2E -volup=0x24 -voldown=0x23 +volup=0x26 +voldown=0x28 diff --git a/mercuryio/config.c b/mercuryio/config.c index 1b2a30f..6e67e42 100644 --- a/mercuryio/config.c +++ b/mercuryio/config.c @@ -29,8 +29,8 @@ void mercury_io_config_load( cfg->vk_test = GetPrivateProfileIntW(L"io4", L"test", 0x2D, filename); cfg->vk_service = GetPrivateProfileIntW(L"io4", L"service", 0x2E, filename); - cfg->vk_vol_up = GetPrivateProfileIntW(L"io4", L"volup", 0x24, filename); - cfg->vk_vol_down = GetPrivateProfileIntW(L"io4", L"voldown", 0x23, filename); + cfg->vk_vol_up = GetPrivateProfileIntW(L"io4", L"volup", 0x26, filename); + cfg->vk_vol_down = GetPrivateProfileIntW(L"io4", L"voldown", 0x28, filename); for (i = 0 ; i < 240 ; i++) { swprintf_s(key, _countof(key), L"cell%i", i + 1);