FGO: add keyboard input (#61)

Probably self-explanatory :p

Reviewed-on: TeamTofuShop/segatools#61
Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
This commit is contained in:
2025-04-05 15:22:14 +00:00
committed by Dniel97
parent 61f95c3f2e
commit 39711a994a
12 changed files with 375 additions and 90 deletions

View File

@ -158,8 +158,11 @@ coin=0x72
; : : AIME. : :
; '·:..............................................:·'
;
; Only XInput is currently supported.
; Select the input mode. "xinput" for controller, "keyboard" for keyboard.
mode=xinput
[xinput]
; XInput bindings
;
; Left Stick Joystick
@ -168,3 +171,27 @@ coin=0x72
; Left Shoulder Switch Target
; A/B Attack
; X/Y Noble Phantasm
; Configure deadzones for the left thumbsticks.
; The default value for the left stick is 7849, max value is 32767.
stickDeadzone=7849
[keyboard]
; Keyboard bindings:
; Stick controls (default: WASD)
up=0x57
left=0x41
down=0x53
right=0x44
; Attack (default: Space)
attack=0x20
; Dash (default: LSHIFT)
dash=0xa0
; Change Target (default: J)
target=0x4A
; Re-center camera (default: K)
camera=0x4B
; Noble Phantasm (default: L)
np=0x4C