Skip to content

Commit 305123a

Browse files
Copilotensan-hcl
andauthored
Add Australian keyboard layout option (#273)
* Initial plan * feat: add australian keyboard layout option Co-authored-by: ensan-hcl <[email protected]> * chore: fix keyboard layout indentation Co-authored-by: ensan-hcl <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: ensan-hcl <[email protected]>
1 parent a5fadd7 commit 305123a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Core/Sources/Core/Configs/CustomCodableConfigItem.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ extension Config {
177177
public struct KeyboardLayout: CustomCodableConfigItem {
178178
public enum Value: String, Codable, Equatable, Hashable, Sendable {
179179
case qwerty
180+
case australian
180181
case colemak
181182
case dvorak
182183
case dvorakQwertyCommand
@@ -185,6 +186,8 @@ extension Config {
185186
switch self {
186187
case .qwerty:
187188
return "com.apple.keylayout.US"
189+
case .australian:
190+
return "com.apple.keylayout.Australian"
188191
case .colemak:
189192
return "com.apple.keylayout.Colemak"
190193
case .dvorak:

azooKeyMac/Windows/ConfigWindow.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ struct ConfigWindow: View {
459459
Section {
460460
Picker("キーボード配列", selection: $keyboardLayout) {
461461
Text("QWERTY").tag(Config.KeyboardLayout.Value.qwerty)
462+
Text("Australian").tag(Config.KeyboardLayout.Value.australian)
462463
Text("Colemak").tag(Config.KeyboardLayout.Value.colemak)
463464
Text("Dvorak").tag(Config.KeyboardLayout.Value.dvorak)
464465
Text("Dvorak - QWERTY ⌘").tag(Config.KeyboardLayout.Value.dvorakQwertyCommand)

0 commit comments

Comments
 (0)