feat(linux): add graphical platform services

This commit is contained in:
Erik 2026-07-27 11:54:59 +02:00
parent 1628d9f587
commit 66f114b258
28 changed files with 1328 additions and 155 deletions

View file

@ -18,7 +18,7 @@ namespace AcDream.UI.Abstractions.Input;
/// K.1c: <see cref="RetailDefaults"/> now returns the full retail-faithful
/// preset (byte-precise to <c>retail-default.keymap.txt</c>);
/// <see cref="LoadOrDefault"/> + <see cref="SaveToFile"/> persist the
/// table to JSON under <see cref="DefaultPath"/> with version-based
/// table to JSON at a host-provided portable path with version-based
/// migration. <see cref="AcdreamCurrentDefaults"/> is preserved as a
/// reference for tests pinning the older WASD-only behavior, but is no
/// longer the GameWindow startup source.
@ -596,11 +596,4 @@ public sealed class KeyBindings
return result;
}
/// <summary>
/// Default path: <c>%LOCALAPPDATA%\acdream\keybinds.json</c>.
/// </summary>
public static string DefaultPath() => Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
"acdream",
"keybinds.json");
}