Page 3 of 4

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 18:34
by Anakey
looks fine, anything goes as long as you are happy with it

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 20:18
by Fkazim
QMK or TMK firmware for the conversion in your opinions?

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 20:23
by Anakey
i always use QMK have never used TMK

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 20:25
by Fkazim
Ok just wondering though does it have to be a Teensey++ I use? I ask as I already have a Pro Micro that I used to convert one of my IBM Model F XT's.

Please let me know.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 21:39
by Anakey
The problem limiting you is going to be the pins available to use. The sorers converter that you speak of basically just converted the protocol xt to usb rather then directly hooking into the matrix. you will need one pin per row and 1 pin per column if the pro micro supports enough pins then you can use the pro micro however i think that there will not be enough for what you need.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 22:09
by Fkazim
I see so where do I go from here I got all the essential info about the matrix for a conversion or is there anything else?

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 22:23
by Anakey
you just need the controller. i mean you can make the .hex file without as long as you solder the controller the same pins as in the hex file

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 22:53
by Fkazim
Which hex file are we talking about could you link me the essentials to get QMK working?

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 22:54
by Fkazim
Also you can use the pictures for your presentation no problem :D

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 22:57
by Anakey
you will generate the .hex file from the kbfirmware.com website but you need info on what controller you will use as well as what pin on the controller corresponds woith what row/column.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 26 Sep 2019, 22:58
by swampangel
Fkazim wrote:
26 Sep 2019, 22:09
I see so where do I go from here I got all the essential info about the matrix for a conversion or is there anything else?
There's two major operations left (not counting the lcd which is a whole other project)

You have to decide where you're going to put the teensy (on your board, probably in place of the intel controller chip), and then add some jumper wires so the rows/cols connect to the teensy. snacks has examples in his post history, like: viewtopic.php?p=437832#p437832

The other thing is to generate the firmware file. First, go to http://www.keyboard-layout-editor.com/ and set up a layout that matches your board. Then take what's under the "Raw data" tab over to https://kbfirmware.com/. The wiring will be wrong -- change it so it matches the matrix you mapped. This is where you define your keymap and custom layers too. From this site, you'll get a .hex file to flash to the teensy.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 11:20
by Fkazim
OK so here's a Neater version of my matrix and layout that I want let me know what you think guys.
Key communications matrix keys labbeled.PNG
Key communications matrix keys labbeled.PNG (17.49 KiB) Viewed 4817 times
Also had a look at the links you posted and i don't think there is a keyboard template that matches mine :cry:

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 11:29
by Anakey
Fkazim wrote:
27 Sep 2019, 11:20
Also had a look at the links you posted and i don't think there is a keyboard template that matches mine :cry:
you would need to take the layout of something like a full size and then move, delete and adjust the keys to fit what you want. click the key you want to change and there box below allows you to change it. move keys with arrows when you have them selected either individually or drag box around the keys.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 11:37
by Fkazim
OK will look into this. About the Teensey++ should I buy one or you were going to send me one? Also I really want one of those Santigo custom thick cables any idea where I can get one of those from?

Thanks.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 11:56
by Anakey
for the Teensy, i said i would send you one, just pm me your address and i will post it this evening after i get home from work. As for the cable, why don't you ask Saintgo himself via pm he is on this forum, along with other keyboard communities also.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 12:31
by Fkazim
Thanks will do tonight btw I have now got all the raw data for the layout of my keyboard by using one of the websites you guys linked. so tonight I should solder wires to the matrix pins?

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 12:35
by Fkazim
Also how do I make this key look like that in the layout creator website? The key in question is the one on the left side of Backspace.

Thanks.
15695804140348791498746053595287.jpg
15695804140348791498746053595287.jpg (2.38 MiB) Viewed 4792 times

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 12:49
by Anakey
I guess you would put the | key in the bottom right, though it will not matter for generating the keymap as that key itself is just seen as KC_GRAVE where the `~ key would be if on a US board. Windows would then translate that key into the regional graph.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 13:00
by Fkazim
OK will try that also how do I do my layeres e.g ctrl+1 for F1, ctrl+2 for F2, ctrl+3 for F3 all the way to F12 etc...

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 13:04
by Anakey
For that you would set up a dedicated FN key so you would hold down that key that would change the layer. It is best not to use modifiers as these functions are already hard coded to what keys they operate on.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 13:09
by Fkazim
I really would like to do it with Ctrl as this is how I have my F AT mapped. for F11 and F12 I do Ctrl+F9 for F11 and Ctrl+F10 for F12 and I really like that.Please let me know if it is at all possible.

Thanks.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 13:45
by Anakey
it will i think be possible, however it would need writing code for it to work so i will see what i can find.

Ok it looks like this can be done, assuming the code on the following still works https://www.reddit.com/r/olkb/comments/ ... _few_keys/

as this is a custom code it would mean that the .hex file will need to be generated manually instead of through the website but the website can still be used to get the other files that are going to be needed.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 14:38
by Fkazim
I had a look at that but how would that code be incorporated into what I want and how would i add it to the code generated from the website which is this.

[{y:0.5},"Esc","!\n1","\"\n2","£\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=","¬ ¦\n`","Back Space",{x:0.25},"Prt Sc","Scroll Lock","Pause"],
[{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{x:0.25,w:1.25,h:2,w2:1.5,h2:1,x2:-0.25},"Enter",{x:0.25},"Insert","Home","PgUp"],
[{w:1.75},"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","@\n'","~\n#",{x:1.5},"Delete","End","PgDn"],
[{w:1.25},"Shift","|\n\\","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:2.75},"Shift",{x:0.25},"WIN","↑","Menu"],
[{w:1.25},"Ctrl",{x:2.5,a:7,w:6.25},"",{x:3.75,a:4,w:1.25},"Alt",{x:0.25},"←","↓","→"]

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 14:46
by swampangel
imo you should get it working with a basic keymap first, then go back and do your extra layers. Otherwise if it has problems you might not know if it's the firmware or the board.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 14:49
by Anakey
that code from the keyboard layout editor site is then input into the kbfirmware.com site in order to then make the files that would be needed. the code i linked would need to be added to one of the files that is generated by kbfirmware.com

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 14:49
by Fkazim
OK yes that is a good idea. This has been such a long job but it will be well worth it. Well not quite over still got to work out how to get the screen working and configurable or maybe swap it out for some sort of modern Oled screen? whats your thoughts.

Thanks.

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 14:51
by Anakey
you will not be able to get that screen working along with having the programmable keyboard as you want it. It is possible to have an OLED screen however again it would need programming which is beyond my expertise. what exactly were you wanting to use the screen for in any case?

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 14:56
by Fkazim
I was thinking i want it to display something like my cpu temp GPU temp and other info like that etc..

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 15:04
by Anakey
well you are in luck, this has been done, however the programming needed is above my level so unfortunately i will not be able to help you out directly but this is where you need to start https://www.reddit.com/r/MechanicalKeyb ... amic_info/

Re: Key Communications keyboard Matrix Mapped need help with controller programming.

Posted: 27 Sep 2019, 15:06
by Fkazim
Oh man this is about to get interesting...