diff --git a/src/app/App.tsx b/src/app/App.tsx index 13813aef..9ece0e00 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -10293,7 +10293,7 @@ export function App({ store, initialStatusMessage }: AppProps) { > - {getPlayerStartMovementActionLabel(action)} Key + {getPlayerStartInputActionLabel(action)} Key { setPlayerStartKeyboardCaptureAction(action); setStatusMessage( - `Press any key for ${getPlayerStartMovementActionLabel(action)}. Press Escape to cancel.` + `Press any key for ${getPlayerStartInputActionLabel(action)}. Press Escape to cancel.` ); }} > @@ -10317,14 +10317,14 @@ export function App({ store, initialStatusMessage }: AppProps) { - {getPlayerStartMovementActionLabel(action)} Pad + {getPlayerStartInputActionLabel(action)} Pad - handlePlayerStartGamepadBindingChange( + handlePlayerStartMovementGamepadBindingChange( action, event.currentTarget .value as PlayerStartGamepadBinding @@ -10341,6 +10341,65 @@ export function App({ store, initialStatusMessage }: AppProps) { ))} + {PLAYER_START_LOCOMOTION_ACTIONS.map((action) => ( + + + + {getPlayerStartInputActionLabel(action)} Key + + { + setPlayerStartKeyboardCaptureAction(action); + setStatusMessage( + `Press any key for ${getPlayerStartInputActionLabel(action)}. Press Escape to cancel.` + ); + }} + > + {playerStartKeyboardCaptureAction === action + ? "Press Any Key..." + : formatPlayerStartKeyboardBindingLabel( + playerStartInputBindingsDraft.keyboard[ + action + ] + )} + + + + + {getPlayerStartInputActionLabel(action)} Pad + + + handlePlayerStartGamepadActionBindingChange( + action, + event.currentTarget + .value as PlayerStartGamepadActionBinding + ) + } + > + {PLAYER_START_GAMEPAD_ACTION_BINDINGS.map( + (binding) => ( + + {formatPlayerStartGamepadActionBindingLabel( + binding + )} + + ) + )} + + + + ))} + Camera Pad - These bindings feed the same typed movement and camera - actions in First Person and Third Person. Mouse look - stays available as before. + These bindings feed the same typed movement, + locomotion, and camera actions in First Person and + Third Person. Mouse look stays available as before. >