mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-21 04:55:56 +00:00
Change freecam default binds for keyboard and controller to none, configurable through totk.ini or the Controls tab.
freecam_key and freecam_pad were F6 and ZL+ZR+L3 for everyone, potentially causing unwanted toggles. F6 is also the quick save key of #1188. Both are none now. runtime/cfg.c: the FREECAM_PAD and FREECAM_KEY rows of the settings table default to none. runtime/input.c freecam_pad_mask reads the combo with cfg_value instead of falling back to its own zl+zr+lstick, so an unset combo is the table's none like the key. The comments in runtime/freecam.c, runtime/input.c and runtime/ui/menu.cpp rows_freecam, docs/controls.md ("Free camera") and totk.ini.example say so and keep F6 and ZL+ZR+L3 as examples. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5fa6db3c70
commit
88f9a965af
6 files changed
+19
-17
No files matched your search
+1
-1
@@ -962,7 +962,7 @@ static void rows_freecam(void) {
|
||||
names[N - 1] = menu_text(UI_MENU_OFF);
|
||||
if (!freecam_available()) opt_disable_next(UI_MENU_FREECAM_PAD_V143);
|
||||
opt_choice_list("TOTK_FREECAM_PAD", UI_MENU_FREECAM_PAD, combos, names, N, UI_MENU_FREECAM_PAD_DESC);
|
||||
// The free camera key: keys no default binding uses ("none" rather than an empty value turns it off: unset is f6)
|
||||
// The free camera key: keys no default binding uses (none, the default, turns it off)
|
||||
static const char *const keys[] = {"none", "f2", "f3", "f4", "f5", "f6", "f7", "f9"};
|
||||
const char *key_names[] = {menu_text(UI_MENU_OFF), "F2", "F3", "F4", "F5", "F6", "F7", "F9"};
|
||||
if (!freecam_available()) opt_disable_next(UI_MENU_FREECAM_PAD_V143);
|
||||
|
||||
Reference in new issue
Block a user