fix(controller): save remaps per profile, gate modals on enabled (#69)

This commit is contained in:
sudacode authored and GitHub committed 2026-05-16 20:43:27 -07:00
1 parent 49f89e6452
commit 5250ca8214
31 files changed
+1639 -463

No files matched your search

+7
View File
@@ -239,6 +239,13 @@ export function buildCoreConfigOptionRegistry(
description:
'Raw controller binding descriptors saved by Alt+C learn mode. For discrete axis bindings, kind "axis" requires axisIndex and direction.',
},
{
path: 'controller.profiles',
kind: 'object',
defaultValue: defaultConfig.controller.profiles,
description:
'Per-controller binding and button-index overrides keyed by the controller id reported by the Gamepad API.',
},
...discreteBindings.flatMap((binding) => [
{
path: `controller.bindings.${binding.id}`,