geekhack
geekhack Projects => Making Stuff Together! => Topic started by: TomahawkLabs on Wed, 24 June 2020, 22:41:26

Does anyone have the raw code for the Apple AEKII keyboard for Keyboard Layout Editor? I can't seem to find a preexisting one. If I need to create one, I can start working on that too.
The goal is to create a full size AEKII via handwiring and a Teensy 2++. My CNC arrives shortly and I want to start prepping my CNC toolpaths.

I think I figured it out. The top raw code is for how it should look (minus legends I still need to update those) and the bottom is how I got it to look good in http://builder.swillkb.com/. It didn't seem to like the rotated switches and would create cutouts when there were not cutouts coded. If anyone has any suggestions, please let me know.
[{_r:90},"Esc",{_r:90, x:1},{_r:90},"F1",{_r:90},"F2",{_r:90},"F3",{_r:90},"F4",{_r:90},{x:0.5},{_r:90},"F5",{_r:90},"F6",{_r:90},"F7",{_r:90},"F8",{x:0.5},"F9","F10","F11","F12",{x:0.25},"PrtSc","Scroll Lock","Pause\nBreak"],
[{y:0.5},"~\n`","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n","+\n=",{w:2},"Backspace",{x:0.25},"Insert","Home","PgUp",{x:0.25},"Num Lock","=","/","*"],
[{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{w:1.5},"\n\\",{x:0.25},"Delete","End","PgDn",{x:0.25},"7","8","9",""],
[{w:1.75},"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{w:2.25},"Enter",{x:3.5},"4","5","6", "+"],
[{w:2.25},"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:2.75},"Shift",{x:1.25},"↑",{x:1.25},"1","2","3",{h:2},"Enter"],
[{w:1.5},"Ctrl",{w:1.25},"Win",{w:1.5},"Alt",{a:7,w:6.5},"",{a:4,w:1.5},"Alt",{w:1.25},"Win",{w:1.5},"Menu",{x:0.25},"←","↓","→",{x:0.25,w:2},"0","."],
[],
[{_r:90},"Esc",{_r:90, x:1},{_r:90},"F1",{_r:90},"F2",{_r:90},"F3",{_r:90, x:0.5},{_r:90},"F4",{_r:90},"F5",{_r:90},"F6",{_r:90, x:0.5},"F7",{_r:90},"F5",{_r:90},"F6",{_r:90},"F7",{_r:90, x:0.25},{_r:90},"F5",{_r:90},"F6"],
[{y:0.5},"~\n`","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n","+\n=",{w:2},"Backspace",{x:0.25},"Insert","Home","PgUp",{x:0.25},"Num Lock","=","/","*"],
[{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{w:1.5},"\n\\",{x:0.25},"Delete","End","PgDn",{x:0.25},"7","8","9",""],
[{w:1.75},"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{w:2.25},"Enter",{x:3.5},"4","5","6", "+"],
[{w:2.25},"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:2.75},"Shift",{x:1.25},"↑",{x:1.25},"1","2","3",{h:2},"Enter"],
[{w:1.5},"Ctrl",{w:1.25},"Win",{w:1.5},"Alt",{a:7,w:6.5},"",{a:4,w:1.5},"Alt",{w:1.25},"Win",{w:1.5},"Menu",{x:0.25},"←","↓","→",{x:0.25,w:2},"0","."]
Tomahawk Labs