TKG

TKG,全称TMK Keymap Generator,是一个可以将由keyboard-layout-editor创建出的键盘布局转换为TMK键盘固件套装可用的键表文件的在线生成器。作者是kai1103。
 
公开地址为http://www.enjoyclick.org/tkg
 
 
简单模式
 
Poker2
 
复合层:http://www.keyboard-layout-editor.com/#/layouts/7d55431c8a8d9f9bf94b6f6af8ce7c12
[{a:0},"Esc\n\n\n\n~\n`",{a:4},"!\n1\n\n\nF1","@\n2\n\n\nF2","#\n3\n\n\nF3","$\n4\n\n\nF4","%\n5\n\n\nF5","^\n6\n\n\nF6","&\n7\n\n\nF7","*\n8\n\n\nF8","(\n9\n\n\nF9",")\n0\n\n\nF10","_\n-\n\n\nF11","+\n=\n\n\nF12",{w:2},"Backspace\n\n\n\nDelete"],
[{w:1.5},"Tab","Q","W\n\n\n\n↑","E","R","T","Y\n\n\n\nCalc","U","I\n\n\n\nIns","O","P\n\n\n\nPSc","{\n[\n\n\nScrLk",{a:0},"}\n]\n\n\nPus\nBrk",{a:4,w:1.5},"|\n\\"],
[{w:1.75},"Caps Lock","A\n\n\n\n←","S\n\n\n\n↓","D\n\n\n\n→","F","G","H","J","K","L",":\n;\n\n\nHome","\"\n'\n\n\nPgUp",{w:2.25},"Enter"],
[{w:2.25},"Shift","Z","X\n\n\n\nApp","C\n\n\n\nFn2","V\n\n\n\nFn1","B\n\n\n\nFn3","N\n\n\n\nVolDn","M\n\n\n\nVolUp","<\n,\n\n\nMute",">\n.\n\n\nEnd","?\n/\n\n\nPgDn",{w:2.75},"RShift"],
[{w:1.25},"Ctrl",{w:1.25},"Win",{w:1.25},"Alt",{w:6.25},"Space",{w:1.25},"RAlt",{w:1.25},"Fn0",{w:1.25},"RWin",{w:1.25},"RCtrl"]
 
Fn:
"0":["ACTION_LAYER_MOMENTARY",1],"1":["ACTION_BACKLIGHT_TOGGLE"],"2":["ACTION_BACKLIGHT_DECREASE"],"3":["ACTION_BACKLIGHT_INCREASE"]
 
 
HHKB
 
复合层: http://www.keyboard-layout-editor.com/#/layouts/f7b9526f81a517caf7e1d89146209cc0
["Esc\n\n\n\nPower","!\n1\n\n\nF1","@\n2\n\n\nF2","#\n3\n\n\nF3","$\n4\n\n\nF4","%\n5\n\n\nF5","^\n6\n\n\nF6","&\n7\n\n\nF7","*\n8\n\n\nF8","(\n9\n\n\nF9",")\n0\n\n\nF10","_\n-\n\n\nF11","+\n=\n\n\nF12","|\n\\\n\n\nIns","~\n`\n\n\nDel"],
[{w:1.5},"Tab\n\n\n\nCAPS","Q","W","E","R","T","Y","U","I\n\n\n\nF13","O\n\n\n\nF14","P\n\n\n\nF15","{\n[\n\n\n↑","}\n]",{w:1.5},"Backspace\n\n\n\nDelete"],
[{w:1.75},"Ctrl","A\n\n\n\nVol_Dn","S\n\n\n\nVol_Up","D\n\n\n\nMute","F\n\n\n\nEject","G","H\n\n\n\n*","J\n\n\n\n/","K\n\n\n\nHome","L\n\n\n\nPgUp",":\n;\n\n\n←","\"\n'\n\n\n→",{w:2.25},"Return"],
[{w:2.25},"Shift","Z","X","C","V","B","N\n\n\n\n+","M\n\n\n\n-","<\n,\n\n\nEnd",">\n.\n\n\nPgDn","?\n/\n\n\n↓",{w:1.75},"Shift","Fn"],
[{x:1.5},"Alt",{w:1.5},"Meta",{w:7},"",{w:1.5},"Meta\n\n\n\nStop","Alt"]
 
Fn:
"0":["ACTION_LAYER_MOMENTARY",1]

标准模式
 
7倍空格+方向键开关
 
第0层:http://www.keyboard-layout-editor.com/#/layouts/25989fdaa90d33a5c257e2734c20f2b2
["Esc","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=",{w:2},"Backspace"],
[{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{w:1.5},"|\n\\"],
[{w:1.75},"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{w:2.25},"Enter"],
[{w:2.25},"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:1.75},"RShift","Fn"],
[{w:1.5},"Ctrl","Win",{w:1.5},"Alt",{w:7},"Space",{w:1.5},"RAlt","RWin",{w:1.5},"RCtrl"]
 
第1层:http://www.keyboard-layout-editor.com/#/layouts/49a5392a82b1deaa072a8a66c575ec35
["~\n`","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12",{w:2},"Delete"],
[{w:1.5},"","","↑","","","","Calc","","Insert","","Print Screen","Scroll Lock","Pause\nBreak",{w:1.5},""],
[{w:1.75},"","←","↓","→","","","","","","","Home","PgUp",{w:2.25},""],
[{w:2.25},"","","App","Fn1","Fn2","Fn3","VolDn","VolUp","Mute","End","PgDn",{w:1.75},"",""],
[{w:1.5},"","",{w:1.5},"",{w:7},"Fn4",{w:1.5},"","",{w:1.5},""]
 
第2层:http://www.keyboard-layout-editor.com/#/layouts/42e21b8acfcc5bc13b9c00f4dd9d0d40
["","","","","","","","","","","","","",{w:2},""],
[{w:1.5},"","","","","","","","","","","","","",{w:1.5},""],
[{w:1.75},"","","","","","","","","","","","",{w:2.25},""],
[{w:2.25},"","","","","","","","","","","",{w:1.75},"↑",""],
[{w:1.5},"","",{w:1.5},"",{w:7},"",{w:1.5},"←","↓",{w:1.5},"→"]
 
Fn:
"0":["ACTION_LAYER_MOMENTARY",1],"1":["ACTION_BACKLIGHT_TOGGLE"],"2":["ACTION_BACKLIGHT_DECREASE"],"3":["ACTION_BACKLIGHT_INCREASE"],"4":["ACTION_LAYER_TOGGLE",2]
 
 
Poker2 + Keypad
 
第0层:http://www.keyboard-layout-editor.com/#/layouts/4d49cda917b36b32465d8e14ec35b7c2
["Esc","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=",{w:2},"Backspace"],
[{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{w:1.5},"|\n\\"],
[{w:1.75},"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{w:2.25},"Enter"],
[{w:2.25},"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:2.75},"RShift"],
[{w:1.25},"Ctrl",{w:1.25},"Win",{w:1.25},"Alt",{w:6.25},"Space",{w:1.25},"RAlt",{w:1.25},"Fn0",{w:1.25},"RWin",{w:1.25},"RCtrl"]
 
第1层:http://www.keyboard-layout-editor.com/#/layouts/e6bfbb135ef4d0844f74a448c2f9efa1
["~\n`","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12",{w:2},"Delete"],
[{w:1.5},"","","↑","","","","Calc","","Insert","","Print Screen","Scroll Lock","Pause\nBreak",{w:1.5},""],
[{w:1.75},"","←","↓","→","","","","","","","Home","PgUp",{w:2.25},""],
[{w:2.25},"","","App","Fn1","Fn2","Fn3","VolDn","VolUp","Mute","End","PgDn",{w:2.75},""],
[{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"Fn4",{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:1.25},""]
 
第2层:http://www.keyboard-layout-editor.com/#/layouts/ec85d2eb8d38107fa402c5d016278cc8
["","","","","","","","7\nHome","8\n↑","9\nPgUp","","-","",{w:2},""],
[{w:1.5},"","","","","","","","4\n←","5","6\n→","","PEnter","",{w:1.5},""],
[{w:1.75},"","","","","","","","1\nEnd","2\n↓","3\nPgDn","+","*",{w:2.25},""],
[{w:2.25},"","","","","","","","0\nIns",",",".\nDel","/",{w:1.75},"",""],
[{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:1.25},""]
 
Fn:
"0":["ACTION_LAYER_MOMENTARY",1],"1":["ACTION_BACKLIGHT_TOGGLE"],"2":["ACTION_BACKLIGHT_DECREASE"],"3":["ACTION_BACKLIGHT_INCREASE"],"4":["ACTION_LAYER_TOGGLE",2]
 
多合一模式

7倍空格+方向键开关
 
复合层:http://www.keyboard-layout-editor.com/#/layouts/7e0cf36e72e32cbbc368dee9fce103a3
["Esc","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=",{w:2},"Backspace"],
[{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{w:1.5},"|\n\\"],
[{w:1.75},"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{w:2.25},"Enter"],
[{w:2.25},"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:1.75},"RShift","Fn"],
[{w:1.5},"Ctrl","Win",{w:1.5},"Alt",{w:7},"Space",{w:1.5},"RAlt","RWin",{w:1.5},"RCtrl"],
[{y:0.5},"~\n`","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12",{w:2},"Delete"],
[{w:1.5},"","","↑","","","","Calc","","Insert","","Print Screen","Scroll Lock","Pause\nBreak",{w:1.5},""],
[{w:1.75},"","←","↓","→","","","","","","","Home","PgUp",{w:2.25},""],
[{w:2.25},"","","App","Fn1","Fn2","Fn3","VolDn","VolUp","Mute","End","PgDn",{w:1.75},"",""],
[{w:1.5},"","",{w:1.5},"",{w:7},"Fn4",{w:1.5},"","",{w:1.5},""],
[{y:0.5},"","","","","","","","","","","","","",{w:2},""],
[{w:1.5},"","","","","","","","","","","","","",{w:1.5},""],
[{w:1.75},"","","","","","","","","","","","",{w:2.25},""],
[{w:2.25},"","","","","","","","","","","",{w:1.75},"↑",""],
[{w:1.5},"","",{w:1.5},"",{w:7},"",{w:1.5},"←","↓",{w:1.5},"→"]
 
Fn:
"0":["ACTION_LAYER_MOMENTARY",1],"1":["ACTION_BACKLIGHT_TOGGLE"],"2":["ACTION_BACKLIGHT_DECREASE"],"3":["ACTION_BACKLIGHT_INCREASE"],"4":["ACTION_LAYER_TOGGLE",2]

浏览记录

TKG
TKG