[{"data":1,"prerenderedAt":484},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":228,"content-\u002F2026\u002F11\u002F10\u002Fkeychron-iso-keys-swapped-on-a-new-mac":229},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":138},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":67},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":5},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":27},{"category":72},{"category":72},{"category":209},"Technology",{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},216,{"id":230,"title":231,"body":232,"category":468,"date":469,"description":470,"embedImage":468,"extension":471,"image":468,"imageHeight":468,"imageLink":468,"imageSrcset":468,"imageWidth":468,"intro":472,"meta":473,"navigation":298,"path":474,"seo":475,"series":468,"sitemap":476,"stem":477,"tags":478,"targets":468,"__hash__":483},"content\u002F2026\u002F11\u002F10\u002Fkeychron-iso-keys-swapped-on-a-new-mac.md","Keychron ISO keys swapped on a new Mac",{"type":233,"value":234,"toc":465},"minimark",[235,252,255,258,265,342,353,358,361,420,423,458,461],[236,237,238,239,243,244,247,248,251],"p",{},"On a new Mac with the Norwegian input source, two keys on my Keychron keyboards (a K5 Pro and a K3) were swapped: the ",[240,241,242],"code",{},"'"," key left of ",[240,245,246],{},"1"," and the ",[240,249,250],{},"\u003C"," key right of left Shift.\nThe built-in keyboard was fine.",[236,253,254],{},"When I connected it - I get the unrecognized keyboard - press the button to the right of the left shift - and then chose ISO - but the keys were still swapped.",[236,256,257],{},"However - the error is exactly what you would expect if ANSI was still selected, exactly these two keys come out swapped.",[236,259,260,261,264],{},"So - next up inspecting the keyboard type file on the command line. The settings live in ",[240,262,263],{},"\u002FLibrary\u002FPreferences\u002Fcom.apple.keyboardtype",":",[266,267,272],"pre",{"className":268,"code":269,"language":270,"meta":271,"style":271},"language-bash shiki shiki-themes github-dark","$ defaults read \u002FLibrary\u002FPreferences\u002Fcom.apple.keyboardtype\n\n\"0-0-0\" = 41;\n\"561-13364-0\" = 40;\n\"593-13364-0\" = 40;\n","bash","",[240,273,274,293,300,317,330],{"__ignoreMap":271},[275,276,279,283,287,290],"span",{"class":277,"line":278},"line",1,[275,280,282],{"class":281},"svObZ","$",[275,284,286],{"class":285},"sU2Wk"," defaults",[275,288,289],{"class":285}," read",[275,291,292],{"class":285}," \u002FLibrary\u002FPreferences\u002Fcom.apple.keyboardtype\n",[275,294,296],{"class":277,"line":295},2,[275,297,299],{"emptyLinePlaceholder":298},true,"\n",[275,301,303,306,309,313],{"class":277,"line":302},3,[275,304,305],{"class":281},"\"0-0-0\"",[275,307,308],{"class":285}," =",[275,310,312],{"class":311},"sDLfK"," 41",[275,314,316],{"class":315},"s95oV",";\n",[275,318,320,323,325,328],{"class":277,"line":319},4,[275,321,322],{"class":281},"\"561-13364-0\"",[275,324,308],{"class":285},[275,326,327],{"class":311}," 40",[275,329,316],{"class":315},[275,331,333,336,338,340],{"class":277,"line":332},5,[275,334,335],{"class":281},"\"593-13364-0\"",[275,337,308],{"class":285},[275,339,327],{"class":311},[275,341,316],{"class":315},[236,343,344,345,348,349,352],{},"The keys are ",[240,346,347],{},"productID-vendorID-0"," in decimal, and the values are 40 for ANSI, 41 for ISO and 42 for JIS. The assistant had written ISO to ",[240,350,351],{},"0-0-0"," and left the real keyboards as ANSI. This happened on both external Keychron keyboards.",[354,355,357],"h2",{"id":356},"fix","Fix",[236,359,360],{},"Find the keyboard's IDs (hex) via hidutil:",[266,362,364],{"className":268,"code":363,"language":270,"meta":271,"style":271},"$ hidutil list | grep -i keychron | awk '{print $1, $2, $7}' | sort -u\n\n0x3434 0x231 USB\n",[240,365,366,405,409],{"__ignoreMap":271},[275,367,368,370,373,376,380,383,386,389,391,394,397,399,402],{"class":277,"line":278},[275,369,282],{"class":281},[275,371,372],{"class":285}," hidutil",[275,374,375],{"class":285}," list",[275,377,379],{"class":378},"snl16"," |",[275,381,382],{"class":281}," grep",[275,384,385],{"class":311}," -i",[275,387,388],{"class":285}," keychron",[275,390,379],{"class":378},[275,392,393],{"class":281}," awk",[275,395,396],{"class":285}," '{print $1, $2, $7}'",[275,398,379],{"class":378},[275,400,401],{"class":281}," sort",[275,403,404],{"class":311}," -u\n",[275,406,407],{"class":277,"line":295},[275,408,299],{"emptyLinePlaceholder":298},[275,410,411,414,417],{"class":277,"line":302},[275,412,413],{"class":281},"0x3434",[275,415,416],{"class":311}," 0x231",[275,418,419],{"class":285}," USB\n",[236,421,422],{},"Then set that keyboard's entry to ISO and replug it:",[266,424,426],{"className":268,"code":425,"language":270,"meta":271,"style":271},"$ sudo defaults write \u002FLibrary\u002FPreferences\u002Fcom.apple.keyboardtype keyboardtype -dict-add \"561-13364-0\" -integer 41\n",[240,427,428],{"__ignoreMap":271},[275,429,430,432,435,437,440,443,446,449,452,455],{"class":277,"line":278},[275,431,282],{"class":281},[275,433,434],{"class":285}," sudo",[275,436,286],{"class":285},[275,438,439],{"class":285}," write",[275,441,442],{"class":285}," \u002FLibrary\u002FPreferences\u002Fcom.apple.keyboardtype",[275,444,445],{"class":285}," keyboardtype",[275,447,448],{"class":311}," -dict-add",[275,450,451],{"class":285}," \"561-13364-0\"",[275,453,454],{"class":311}," -integer",[275,456,457],{"class":311}," 41\n",[236,459,460],{},"Keychron's vendor ID is 0x3434, which is 13364 in decimal. The K3 is 0x231 (561) and the K5 Pro is 0x251 (593). The K3 reports the same IDs over USB and Bluetooth, so one entry covers both.",[462,463,464],"style",{},"html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}",{"title":271,"searchDepth":295,"depth":295,"links":466},[467],{"id":356,"depth":295,"text":357},null,"2026-11-10 11:29 +0100","On a new Mac with the Norwegian input source, two keys on my Keychron keyboards (a K5 Pro and a K3) were swapped: the ' key left of 1 and the \u003C key right of left Shift.\nThe built-in keyboard was fine.","md","On a new Mac with the Norwegian input source, two keys on my Keychron keyboards (a K5 Pro and a K3) were swapped even after marking for ISO layout.",{},"\u002F2026\u002F11\u002F10\u002Fkeychron-iso-keys-swapped-on-a-new-mac",{"title":231,"description":470},{"loc":474},"2026\u002F11\u002F10\u002Fkeychron-iso-keys-swapped-on-a-new-mac",[479,480,481,482],"mac","hardware","keyboard","keychron","fFG8T0OCrq7Vi8TyeGQDHNPt3A09Ghah0OdADoRy1PM",1794327717770]