mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-18 03:28:19 +01:00
feat(Keyboard): Hide Pressed Keys (#518)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user