1
0
mirror of synced 2024-11-30 16:24:27 +01:00

exvs2: fix default config

This commit is contained in:
Kevin Trocolli 2023-09-25 03:16:36 -04:00
parent 4a709fd8be
commit 8f4283b128
2 changed files with 32 additions and 23 deletions

View File

@ -11,7 +11,11 @@ default=localhost
; real dongle connected that you want to use ; real dongle connected that you want to use
[dongle] [dongle]
enable=1 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 ; Set the network environment. Most games seem to want 192.168.123.X
[netenv] [netenv]
@ -44,6 +48,8 @@ enable=1
[reader] [reader]
enable=1 enable=1
; "Enter" key
insert_card=0x0D
access_code=00000000000000000000 access_code=00000000000000000000
; JVS config ; JVS config
@ -54,24 +60,27 @@ port=3
; Mappings for the najv4 IO board. To disable JVS emulation and use ; Mappings for the najv4 IO board. To disable JVS emulation and use
; a real board, set enable to 0 in the "jvs" section. ; a real board, set enable to 0 in the "jvs" section.
[najv4] [najv4]
test=0x24 ; "Home" key ; "Home" key
coin=0x2D ; "Insert" key test=0x24
service=0x2E ; "Delete" key ; "Insert" key
up=0x26 ; Up arrow coin=0x2D
down=0x28 ; Down arrow ; "Delete" key
enter=0x0D ; "Enter" key service=0x2E
; Up arrow
; Mappings for the gamepad. To disable gamepad eumlation and use up=0x26
; a real pokken arcade controller, set enable to 0 in the "xinput" section ; Down arrow
[gamepad] down=0x28
dpad_up=0x57 ; W ; Left arrow
dpad_down=0x53 ; A left=0x25
dpad_left=0x41 ; S ; Right arrow
dpad_right=0x44 ; D right=0x27
button_a=0x4F ; O ; Spacebar
button_b=0x4B ; K start=0x20
button_x=0x49 ; I ; 1
button_y=0x4A ; J btn1=0x31
trigger_l=0x51 ; Q ; 2
trigger_r=0x45 ; E btn2=0x32
button_start=0xA0 ; Left Shift ; 3
btn3=0x33
; 4
btn4=0x34

View File

@ -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->down = GetPrivateProfileIntW(L"najv4", L"down", VK_DOWN, filename);
cfg->left = GetPrivateProfileIntW(L"najv4", L"left", VK_LEFT, filename); cfg->left = GetPrivateProfileIntW(L"najv4", L"left", VK_LEFT, filename);
cfg->right = GetPrivateProfileIntW(L"najv4", L"right", VK_RIGHT, 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->btn1 = GetPrivateProfileIntW(L"najv4", L"btn1", '1', filename);
cfg->btn2 = GetPrivateProfileIntW(L"najv4", L"btn2", '2', filename); cfg->btn2 = GetPrivateProfileIntW(L"najv4", L"btn2", '2', filename);
cfg->btn3 = GetPrivateProfileIntW(L"najv4", L"btn3", '3', filename); cfg->btn3 = GetPrivateProfileIntW(L"najv4", L"btn3", '3', filename);