TKG is available at: tkg.io. It is a work of Kai Ryu. I just help to open this topic for discussion and ideas sharing.

About TMK Keymap GeneratorTMK Keymap Generator, aka TKG, is a generator that can convert layout created by keyboard-layout-editor into an available keymap for TMK Keyboard Firmware Collection.You can make a keyboard layout by keyboard-layout-editor as you like, copy the Raw Data and paste them into TKG, set some Fn keys as you want, and click Download button then you will get the configurations what can works with your TMK Firmware inside keyboard. It is quite easy to use. No need to compile the firmware.TKG is an open source software published under WTFPL. You can find the codes on GitHub.

Update the Driver1. Download tkg-toolkit at https://github.com/kairyu/tkg-toolkit.2. Push the reset button and make sure the dfu bootloader appearing at "Devices and Printers".3. Open zadig (in the tool folder of TKG-ToolKit). Click "Options>List all devices" from the menu to enable the option.4. Select "ATm32U4DFU" in the drop down list. ( Please be careful to ensure to select the dfu but not "GH60 or other keybaord name")5. Select "WinUSB" as the driver. (Usually "WinUSB" is the default option)6. Click "Install" button and wait for the installation finishing.

Now there are three ways to update.[ 1. For dfu booloader ]Make sure you already install driver for ATm32U4DFU.Push the reset button(usually on the back of the keyboard) then tkg will find your device and display its name.

More

Click ’burn .eep file’ button. Your device can be reflashed within a few seconds.

More

While holding shift of another keyboard, ‘burn .eep file‘ changes to ’burn .hex file‘. With this your can burn hex individually.

[ 2. For HID Bootloader ] Manual installing driver is not needed for this type of bootloader. Current support boards: CW40, ErgoDone, RedScarf II+Two keys (usually the keys of matrix(0,0) and (0,1)) are needed.

More

While holding the key of matrix(0,0), insert your usb cable into keyboard. The 'burn .eep file' button will be green(clickable). click it to update your keymap. You can confirm the keyboard connects correctly by finding your keyboard's name with 'HID EEPROM' in the dropdown menu.

Good job. I can see Yang really works hard on this tutorial. TKG is a convenient tool for remapping your keyboard matrix once you get used to it. Thanks for Yang's great work. I'm sure you guys will love this awesome tool with yang' guidance.

Wow, this is great, that'll come in very handy once my S60-X arrives! What base-layout does TKG use? For example, if I set one key-press to be "}", that could be converted to the "modified key action" Shift+] if the base layout is ANSI US or to AltGr+0 if the base layout is ISO DE.

The layout of your keyboard depends on which input language you use in your OS. TKG doesn't creat keys. Indeed, it recognizes keys from what you wirte in Key-Layout-Editor.If you want set one key-press to be "}", you can't write a "}" on that key. Instead, you need to wirte Fnx on it and set this fn to be a modified key as shift+] or AltGr+0 if the layout is ISO DE.

Having a small issue with this, everything works perfectly as according to this image with the exception of the pipe/backslash key. It performs the same action as #/~ which I have next to my enter key.

Having a small issue with this, everything works perfectly as according to this image with the exception of the pipe/backslash key. It performs the same action as #/~ which I have next to my enter key.

Awesome job to everyone getting this up and running. Have used it to flash an RS68 II+ with great success

I am wondering about the Backlight action settings for a function key. Currently it looks like I need to assign dedicated switches to use these, unless I've overlooked a setting somewhere... Is it possible to assign Backlight action - Toggle to layer 1?

Awesome job to everyone getting this up and running. Have used it to flash an RS68 II+ with great success

I am wondering about the Backlight action settings for a function key. Currently it looks like I need to assign dedicated switches to use these, unless I've overlooked a setting somewhere... Is it possible to assign Backlight action - Toggle to layer 1?

Awesome job to everyone getting this up and running. Have used it to flash an RS68 II+ with great success

I am wondering about the Backlight action settings for a function key. Currently it looks like I need to assign dedicated switches to use these, unless I've overlooked a setting somewhere... Is it possible to assign Backlight action - Toggle to layer 1?

Following on from my previous question regarding nested function layers, which works spectacularly well btw...

I have a minor problem on my RS68II+, where it seems that holding down shift-option-left or shift-option-right only registers as shift-left and shift-right. Normally this would be highlight word left or right, but instead is highlight next letter left or right. I'm using the following layout to feed into tkg.io:http://www.keyboard-layout-editor.com/#/gists/a622fd495ec3e1a1f402b1572e0d5cf7

Following on from my previous question regarding nested function layers, which works spectacularly well btw...

I have a minor problem on my RS68II+, where it seems that holding down shift-option-left or shift-option-right only registers as shift-left and shift-right. Normally this would be highlight word left or right, but instead is highlight next letter left or right. I'm using the following layout to feed into tkg.io:http://www.keyboard-layout-editor.com/#/gists/a622fd495ec3e1a1f402b1572e0d5cf7

Any ideas on how to fix this?

i tested this question on my tkg based keyboard, but i don't got this problem. can u give more information to point out the problem?

I'm not sure if this or the TMK thread is the correct place for this, but here it goes.

I have an ISO 60% GH60 "Satan" keyboard, with TMK firmware. Everything is working great, except the key between the left shift and Z (ISO-only key), which is putting out "'" (apostrophe) and "*" instead of the correct characters (which would actually be "<" and ">" on a Norwegian layout).I have loaded the default ISO layout, which labels this key with "\ |" (on Norwegian keyboards it's labelled "< >").

I have fixed temporarily it by setting the key to a function key, and manually setting that to "Non-US \ and |":

But that is a bit of a hassle. Is there any label for this key which is recognized by tkg.io?

I'm not sure if this or the TMK thread is the correct place for this, but here it goes.

I have an ISO 60% GH60 "Satan" keyboard, with TMK firmware. Everything is working great, except the key between the left shift and Z (ISO-only key), which is putting out "'" (apostrophe) and "*" instead of the correct characters (which would actually be "<" and ">" on a Norwegian layout).I have loaded the default ISO layout, which labels this key with "\ |" (on Norwegian keyboards it's labelled "< >").

I have fixed temporarily it by setting the key to a function key, and manually setting that to "Non-US \ and |":

Show Image

But that is a bit of a hassle. Is there any label for this key which is recognized by tkg.io?

Thanks.

You can find them here: https://tkg.io/#helpIn the case of "Non-US \ and |", since it's general labels are all the same with the "US \ and |", so there is no way to distinguish it without a special label "iso |".

hi, I can see on your screenshot that you are using macro. Can you explain me how to use these custom macro? I installed the TKG on my private hosting, I check the json file to add macro, I dont see how to add. and I cannot use chrome addon with my own hosting, how to use it?

hi, I can see on your screenshot that you are using macro. Can you explain me how to use these custom macro? I installed the TKG on my private hosting, I check the json file to add macro, I dont see how to add. and I cannot use chrome addon with my own hosting, how to use it?

Any chance we can get some more information on the errors TKG gives, please?For example, does 'No matching key' mean that you're trying to remap a key that doesnt exist, or that the TKG doesn't recognise the value you're wanting to remap to?(It's giving me this error on a number of keys on my number pad, for instance)

Any chance we can get some more information on the errors TKG gives, please?For example, does 'No matching key' mean that you're trying to remap a key that doesnt exist, or that the TKG doesn't recognise the value you're wanting to remap to?(It's giving me this error on a number of keys on my number pad, for instance)

I've recently purchased a KBD66 keyboard, and was wondering what the process is like to add support for new keyboards to TKG.I think there is a version of TMK for the KBD66 available on Github here, but I'm not sure how to integrate that into the TMK Keyboard Firmware Collection, and further into tkg.io. Any help would be greatly appreciated.

EDIT: I have created an issue on Github regarding adding support for the KBD66.

I hope I'm asking this in the right section. But I'm building an EEPW84 in the coming few months when all the parts are in and I'm trying to figure out the programming. First timer so bare with me. I Have a few questions about the layout. I used KLE to generate the lay-out and this is the raw code:

I'm a simple guy and plan on using just one layer. I like to use the FN keys to control the underglow LED and used the instructions provided by KPrepublic for the programming. Two questions with this code: I get some errors in TMK when pasting the code but TMK also mentioned the conflicts are solved?

Secondly:

TMK also has a tab for LED, but since I'm only using the RGB underglow LEDS on the EEPW84 pcb will I have any use configuring this tab? I've put the RGB control under the FN keys.

Yes I followed the instructions exactly as they say, except for the changes on the layout. Just as a reminder, I don't have the PCB yet to test this layout. I'm just planning/working ahead for when I do and I was curious if I made any obvious mistakes somewhere.

But still I'm curious to know if I really need that LED tab set up and if I need the backlight options under FN keys setup because I only use the RGB underglow LED's. You can reflash the board if necessary right? So I can try take those backlight FN commands out, just like the LED tab and try it out?

I tried flashing the XD84 and process says file is burned succesfully but when I reconnect the board no key registers. I Don't understand what I'm doing wrong. I have to reflash the board through tkg toolkit so it starts registering keys again but then the layout isn't what I want. Anybody have any suggestions or tips for me? This is the raw data I'm trying to flash:

I tried flashing the XD84 and process says file is burned succesfully but when I reconnect the board no key registers. I Don't understand what I'm doing wrong. I have to reflash the board through tkg toolkit so it starts registering keys again but then the layout isn't what I want. Anybody have any suggestions or tips for me? This is the raw data I'm trying to flash:

Yes I noticed the Pause button as well and adjusted it but without succes. I'm thinking something must be wrong with the drivers of the board or something but I can't figure out what. I've added screenshots maybe that helps to see if I'm doing something wrong? Thank you for your time, much appreciated!

Well, when I use the TKG toolkit to reflash the kimera.hex (see picture of the black box I posted before) it shows up as a keyboard. But now some keys don't work (or match, I know the PCB is good because I tested it before and after soldering). The trouble started when I tried to flash my own layout. When I try to do this, the board isn't recognized as a keyboard anymore but as a USB hub or monitor or something in that category.

Yes I noticed the Pause button as well and adjusted it but without succes. I'm thinking something must be wrong with the drivers of the board or something but I can't figure out what. I've added screenshots maybe that helps to see if I'm doing something wrong? Thank you for your time, much appreciated!

At your last, use online reflash(just click burn.eep) instead of downloading eep then reflashing with tkg-toolkit. Maybe kimera-core.hex in your tkg-toolkit is out of date. If you still want to use tkg-toolkit, try to down the newest version from https://github.com/kairyu/tkg-toolkit

Yes I noticed the Pause button as well and adjusted it but without succes. I'm thinking something must be wrong with the drivers of the board or something but I can't figure out what. I've added screenshots maybe that helps to see if I'm doing something wrong? Thank you for your time, much appreciated!

At your last, use online reflash(just click burn.eep) instead of downloading eep then reflashing with tkg-toolkit. Maybe kimera-core.hex in your tkg-toolkit is out of date. If you still want to use tkg-toolkit, try to down the newest version from https://github.com/kairyu/tkg-toolkit

Well that's the weird thing; I thought this board was Kimera-Core, but the TKG Toolkit recognizes it as Kimera. Maybe I made a mistake with the first time flashing and that caused the problems. I'll try to do it again with the newest TKG Toolkit, try to flash kimera-core.hex instead of kimera.hex, and see how it works out

Okay, so I tried to flash kimera-core.hex instead of kimera.hex but then the board isn't find by Windows. As long as I keep it on Kimera the board registers keys and is found by Windows as a keyboard. But when I drag my own made keymap.eep in the reflash.bat, it looks like it's going well but in the end weird things happen: my Home button registers as spacebar, my Z is nowhere to be found etc. So it looks like the layout still isn't what it should be.