You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create a KeyboardShortcuts.Name called my_capslock. And set KeyboardShortcuts.ShortcutKeyboardShortcuts.Shortcut(KeyboardShortcuts.Key.capsLock, modifiers: []) for it.
However, when running the app, pressing Caps Lock on the keyboard makes nothing happen...
How can I listen for the Caps Lock key event so that I can further override the default behaviour of pressing Caps Lock in macOS?
I create a
KeyboardShortcuts.Name
calledmy_capslock
. And setKeyboardShortcuts.Shortcut
KeyboardShortcuts.Shortcut(KeyboardShortcuts.Key.capsLock, modifiers: [])
for it.However, when running the app, pressing Caps Lock on the keyboard makes nothing happen...
How can I listen for the Caps Lock key event so that I can further override the default behaviour of pressing Caps Lock in macOS?
KeyboardShortcuts version: 1.16.1
Codes to reproduce:
App.swift:
ContentView.swift:
The text was updated successfully, but these errors were encountered: