|
@@ -272,7 +272,8 @@ struct InputSettingsView: View {
|
|
@AppStorage("IsCtrlCmdSwapped") var isCtrlCmdSwapped = false
|
|
@AppStorage("IsCtrlCmdSwapped") var isCtrlCmdSwapped = false
|
|
@AppStorage("InvertScroll") var isInvertScroll = false
|
|
@AppStorage("InvertScroll") var isInvertScroll = false
|
|
@AppStorage("HandleInitialClick") var isHandleInitialClick = false
|
|
@AppStorage("HandleInitialClick") var isHandleInitialClick = false
|
|
-
|
|
|
|
|
|
+ @AppStorage("IsISOKeySwapped") var isISOKeySwapped = false
|
|
|
|
+
|
|
@State private var isKeyboardShortcutsShown = false
|
|
@State private var isKeyboardShortcutsShown = false
|
|
|
|
|
|
var body: some View {
|
|
var body: some View {
|
|
@@ -320,6 +321,9 @@ struct InputSettingsView: View {
|
|
Toggle(isOn: $isCtrlCmdSwapped, label: {
|
|
Toggle(isOn: $isCtrlCmdSwapped, label: {
|
|
Text("Swap Control (⌃) and Command (⌘) keys")
|
|
Text("Swap Control (⌃) and Command (⌘) keys")
|
|
}).help("This does not apply to key binding outside the guest.")
|
|
}).help("This does not apply to key binding outside the guest.")
|
|
|
|
+ Toggle(isOn: $isISOKeySwapped) {
|
|
|
|
+ Text("Swap the leftmost key on the number row and the key next to left shift on ISO keyboards")
|
|
|
|
+ }.help("This only applies to ISO layout keyboards.")
|
|
}
|
|
}
|
|
.sheet(isPresented: $isKeyboardShortcutsShown) {
|
|
.sheet(isPresented: $isKeyboardShortcutsShown) {
|
|
VMKeyboardShortcutsView().padding()
|
|
VMKeyboardShortcutsView().padding()
|