1
0
mirror of synced 2024-11-23 21:40:58 +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
[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

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->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);