feat(Keyboard): Hide Pressed Keys (#518)

This commit is contained in:
ariedel87
2025-05-25 11:09:48 +02:00
committed by GitHub
parent 7e64a529f8
commit 2ec061b3a8
3 changed files with 39 additions and 13 deletions

View File

@@ -310,6 +310,9 @@ interface SettingsState {
keyboardLedSync: KeyboardLedSync;
setKeyboardLedSync: (sync: KeyboardLedSync) => void;
showPressedKeys: boolean;
setShowPressedKeys: (show: boolean) => void;
}
export const useSettingsStore = create(
@@ -344,6 +347,9 @@ export const useSettingsStore = create(
keyboardLedSync: "auto",
setKeyboardLedSync: sync => set({ keyboardLedSync: sync }),
showPressedKeys: true,
setShowPressedKeys: show => set({ showPressedKeys: show }),
}),
{
name: "settings",