Page 1 of 1
New Phantom Board
Posted: 26 Feb 2013, 03:34
by Rotti
Ok I have purchased a Phantom board with all the switches, diodes, and controller in place. However, I want to do a custom layout on it by moving the "F" keys to a function layer under the number keys and reprogramming the insert cluster to media keys with the default inset cluster keys as a function layer. I have navigated my way to
https://github.com/tmk/tmk_keyboard. What all do I need to download and would someone be willing to give me a quick rundown on how this works?
Fair warning I have zero programming experience. And have no idea where to start with this.
Any help will be greatly appreciated thanks.
Rotti
Posted: 26 Feb 2013, 09:27
by Icarium
Hm... is this the most easy to use firmware that is currently available? I'm pretty sure there is some for the ErgoDox and Phantom that come with a GUI interface.
Not really a question for you Rotti more for everybody else..

Posted: 27 Feb 2013, 08:34
by Rotti
That would be amazing if there was a firmware that i could use with a GUI to set up my Function layer
Posted: 27 Feb 2013, 09:31
by fossala
You don't have to understand C to change the layout. Just look over everything and it should make sense. Once you have done that, give it to someone here to check over and then someone will tell you how to compile and upload to the teensy.
Hint, this is the part you want too look at.
https://github.com/tmk/tmk_keyboard/blo ... m/keymap.c
Instructions, to compiling and the firmware is here
https://github.com/tmk/tmk_keyboard/blo ... /README.md
Posted: 27 Feb 2013, 19:31
by Rotti
Thanks a lot for the help Foosala. I will take a look at that tonight after my raid
Rotti
Posted: 27 Feb 2013, 20:47
by fossala
Rotti wrote:...after my raid
Rotti
Part of the armed police/drug dealer with a tip off, sorting out you redundancy problems or just playing WOW?

Posted: 27 Feb 2013, 20:58
by Rotti
Playing WoW. My main toon is still the first toon I made in the game during Vanilla. My Undead Rogue.
Posted: 01 Mar 2013, 05:58
by Rotti
Alright here is where i am at so far. The keyboard arrived with everything already loaded into the teensy. The problem is that there is no function layer. So I guess what I am asking is which piece of software do i need to build a function layer. I have winavr, teensy loader, and flip. For other files i have phantom-PHANSIWIN.hex from
http://geekhack.org/index.php?action=dl ... ttach=2114 and i have the tmk_keyboard-master.zip package as well. Still playing around in flip and winavr trying to figure this out.
Rotti
Posted: 07 Mar 2013, 19:52
by huttala
I'm on windows atm and can't seem to compile my files into a .hex.
I need help badly, when I try to "make huttis" in cmd (in the directory that I have all the files) it just says that there are files missing.
The files I have is:
config.h
keymap.c
led.c
makefile.lufa
makefile.pjrc
matrix.c
How the hell do I compile this? Can't find anything in AVR and in the guide it says that I should use make in the folder where I have my stuff, but which file should I "make"?
The only thing I have modded is the keymap since my phantom is a ANSI board and I need that missing key since I use Swedish ISO in the OS.
Posted: 07 Mar 2013, 20:22
by fruktstund
I think it's something like "make -f makefile.pjrc", from cmd that is.
Posted: 07 Mar 2013, 20:37
by huttala
fruktstund wrote:I think it's something like "make -f makefile.pjrc", from cmd that is.
makefile.pjrc:88: ../../protocol/pjrc.mk: No such file or directory
makefile.pjrc:89: ../../common.mk: No such file or directory
makefile.pjrc:90: ../../rules.mk: No such file or directory
make: *** No rule to make target `../../rules.mk'. Stop.

Posted: 12 Mar 2013, 12:13
by philpirj
I had some issues with tmk however. Some 'static' modifiers missing (easy to fix) and key jamming (repeats last keystoke each .2 seconds, while i have repeat turned off in my .xinitrc with xset -r, so it's firmware, not OS), while my own firmware written from scratch works seamlessly.