changed default vol buttons to up and down

because that's what a sane person would set them to
This commit is contained in:
Hay1tsme 2022-01-15 23:18:52 -05:00
parent 0fae115734
commit 0d84a59b94
2 changed files with 4 additions and 4 deletions

View File

@ -37,6 +37,6 @@ subnet=192.168.250.0
; Input API selection for JVS input emulator. ; Input API selection for JVS input emulator.
test=0x2D test=0x2D
service=0x2E service=0x2E
volup=0x24 volup=0x26
voldown=0x23 voldown=0x28

View File

@ -29,8 +29,8 @@ void mercury_io_config_load(
cfg->vk_test = GetPrivateProfileIntW(L"io4", L"test", 0x2D, filename); cfg->vk_test = GetPrivateProfileIntW(L"io4", L"test", 0x2D, filename);
cfg->vk_service = GetPrivateProfileIntW(L"io4", L"service", 0x2E, 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_up = GetPrivateProfileIntW(L"io4", L"volup", 0x26, filename);
cfg->vk_vol_down = GetPrivateProfileIntW(L"io4", L"voldown", 0x23, filename); cfg->vk_vol_down = GetPrivateProfileIntW(L"io4", L"voldown", 0x28, filename);
for (i = 0 ; i < 240 ; i++) { for (i = 0 ; i < 240 ; i++) {
swprintf_s(key, _countof(key), L"cell%i", i + 1); swprintf_s(key, _countof(key), L"cell%i", i + 1);