1
0
mirror of synced 2024-11-12 00:40:49 +01:00

ferrum: fix default config

This commit is contained in:
Kevin Trocolli 2023-09-25 03:27:08 -04:00
parent b5b797377f
commit 141f0d8cbc
2 changed files with 36 additions and 20 deletions

View File

@ -54,24 +54,40 @@ 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
; "Home" key
test=0x24
; "Insert" key
coin=0x2D
; "Delete" key
service=0x2E
; Up arrow
up=0x26
; Down arrow
down=0x28
; Spacebar
enter=0x20
; Mappings for the gamepad. To disable gamepad eumlation and use
; a real pokken arcade controller, set enable to 0 in the "xinput" section
; Mappings for the gamepad
[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
; W
dpad_up=0x57
; A
dpad_down=0x53
; S
dpad_left=0x41
; D
dpad_right=0x44
; O
button_a=0x4F
; K
button_b=0x4B
; I
button_x=0x49
; J
button_y=0x4A
; Q
trigger_l=0x51
; E
trigger_r=0x45
; Left Shift
button_start=0xA0

View File

@ -13,7 +13,7 @@ void ferrum_io_najv4_config_load(struct ferrum_najv4_config *cfg, const wchar_t
cfg->coin = GetPrivateProfileIntW(L"najv4", L"coin", VK_INSERT, filename);
cfg->up = GetPrivateProfileIntW(L"najv4", L"up", VK_UP, filename);
cfg->down = GetPrivateProfileIntW(L"najv4", L"down", VK_DOWN, filename);
cfg->enter = GetPrivateProfileIntW(L"najv4", L"enter", VK_RETURN, filename);
cfg->enter = GetPrivateProfileIntW(L"najv4", L"enter", VK_SPACE, filename);
}
void ferrum_io_gamepad_config_load(struct ferrum_gamepad_config *cfg, const wchar_t *filename)