From 8f4283b1289e13dc5ee97083833cbe3269050ff7 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Mon, 25 Sep 2023 03:16:36 -0400 Subject: [PATCH] exvs2: fix default config --- dist/exvs2/bananatools.ini | 53 ++++++++++++++++++++++---------------- exvs2io/config.c | 2 +- 2 files changed, 32 insertions(+), 23 deletions(-) diff --git a/dist/exvs2/bananatools.ini b/dist/exvs2/bananatools.ini index 21e4e34..2d48895 100644 --- a/dist/exvs2/bananatools.ini +++ b/dist/exvs2/bananatools.ini @@ -11,7 +11,11 @@ default=localhost ; real dongle connected that you want to use [dongle] enable=1 -serial=123456789012 +; XBoost +serial=284313110001 +; EXVS2 +; serial=281131010001 +; For LM, change the 5th digit to a 1 ; Set the network environment. Most games seem to want 192.168.123.X [netenv] @@ -44,6 +48,8 @@ enable=1 [reader] enable=1 +; "Enter" key +insert_card=0x0D access_code=00000000000000000000 ; JVS config @@ -54,24 +60,27 @@ port=3 ; Mappings for the najv4 IO board. To disable JVS emulation and use ; a real board, set enable to 0 in the "jvs" section. [najv4] -test=0x24 ; "Home" key -coin=0x2D ; "Insert" key -service=0x2E ; "Delete" key -up=0x26 ; Up arrow -down=0x28 ; Down arrow -enter=0x0D ; "Enter" key - -; Mappings for the gamepad. To disable gamepad eumlation and use -; a real pokken arcade controller, set enable to 0 in the "xinput" section -[gamepad] -dpad_up=0x57 ; W -dpad_down=0x53 ; A -dpad_left=0x41 ; S -dpad_right=0x44 ; D -button_a=0x4F ; O -button_b=0x4B ; K -button_x=0x49 ; I -button_y=0x4A ; J -trigger_l=0x51 ; Q -trigger_r=0x45 ; E -button_start=0xA0 ; Left Shift +; "Home" key +test=0x24 +; "Insert" key +coin=0x2D +; "Delete" key +service=0x2E +; Up arrow +up=0x26 +; Down arrow +down=0x28 +; Left arrow +left=0x25 +; Right arrow +right=0x27 +; Spacebar +start=0x20 +; 1 +btn1=0x31 +; 2 +btn2=0x32 +; 3 +btn3=0x33 +; 4 +btn4=0x34 \ No newline at end of file diff --git a/exvs2io/config.c b/exvs2io/config.c index 3bdc464..86d9a60 100644 --- a/exvs2io/config.c +++ b/exvs2io/config.c @@ -15,7 +15,7 @@ void exvs2_io_najv4_config_load(struct exvs2_najv4_config *cfg, const wchar_t *f cfg->down = GetPrivateProfileIntW(L"najv4", L"down", VK_DOWN, filename); cfg->left = GetPrivateProfileIntW(L"najv4", L"left", VK_LEFT, filename); cfg->right = GetPrivateProfileIntW(L"najv4", L"right", VK_RIGHT, filename); - cfg->start = GetPrivateProfileIntW(L"najv4", L"start", VK_RETURN, filename); + cfg->start = GetPrivateProfileIntW(L"najv4", L"start", VK_SPACE, filename); cfg->btn1 = GetPrivateProfileIntW(L"najv4", L"btn1", '1', filename); cfg->btn2 = GetPrivateProfileIntW(L"najv4", L"btn2", '2', filename); cfg->btn3 = GetPrivateProfileIntW(L"najv4", L"btn3", '3', filename);