Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Core/Sources/Core/Configs/CustomCodableConfigItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ extension Config {
public struct KeyboardLayout: CustomCodableConfigItem {
public enum Value: String, Codable, Equatable, Hashable, Sendable {
case qwerty
case australian
case colemak
case dvorak
case dvorakQwertyCommand
Expand All @@ -185,6 +186,8 @@ extension Config {
switch self {
case .qwerty:
return "com.apple.keylayout.US"
case .australian:
return "com.apple.keylayout.Australian"
case .colemak:
return "com.apple.keylayout.Colemak"
case .dvorak:
Expand Down
1 change: 1 addition & 0 deletions azooKeyMac/Windows/ConfigWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ struct ConfigWindow: View {
Section {
Picker("キーボード配列", selection: $keyboardLayout) {
Text("QWERTY").tag(Config.KeyboardLayout.Value.qwerty)
Text("Australian").tag(Config.KeyboardLayout.Value.australian)
Text("Colemak").tag(Config.KeyboardLayout.Value.colemak)
Text("Dvorak").tag(Config.KeyboardLayout.Value.dvorak)
Text("Dvorak - QWERTY ⌘").tag(Config.KeyboardLayout.Value.dvorakQwertyCommand)
Expand Down