geekhack

geekhack Projects => Making Stuff Together! => Topic started by: mrbishop on Fri, 27 November 2015, 21:09:43

Title: 60% layout issues
Post by: mrbishop on Fri, 27 November 2015, 21:09:43
so ive built a keyboard using the GH60 TMK firmware. all the default settings everything works except for 2 keys on row 3 seem to be shifted. not sure whats going on any help would be great.


here is the keymap

     * ,-----------------------------------------------------------.
     * |`| 1| 2| 3| 4| 5| 6=| 7| 8| 9|0|-|6=|BKSP|
     * |-----------------------------------------------------------|
     * |TAB|q| w|e|r|t|y]|u|i|o|p|[]|[]|y]\|
     * |-----------------------------------------------------------|
     * |caps|a|s|d|f|g|h|j|k|l|;|'|enter|
     * |-----------------------------------------------------------|
     * |shift|  |z|x|c|   |b|n|m|,|.|shift|
     * |-----------------------------------------------------------|
     * |ctrl|super|alt|         space            |alt|super|menu|???|
     * `-----------------------------------------------------------'
Title: Re: 60% layout issues
Post by: deductivemonkee on Fri, 27 November 2015, 21:30:44
Hasu would know, but this should be in the tmk firmeware thread, where hasu will see it.

Sorry I cant help.
Title: Re: 60% layout issues
Post by: mrbishop on Fri, 27 November 2015, 22:00:54
Maybe I can move it or a mod can thanks for the direction to the correct thread. Oh I put caps on while I wait for help lol

(http://images.tapatalk-cdn.com/15/11/27/c40a0f7624ed2dbc540b5226f92ea7e4.jpg)
Title: Re: 60% layout issues
Post by: deductivemonkee on Fri, 27 November 2015, 22:03:39
Maybe I can move it or a mod can thanks for the direction to the correct thread. Oh I put caps on while I wait for help lol

Show Image
(http://images.tapatalk-cdn.com/15/11/27/c40a0f7624ed2dbc540b5226f92ea7e4.jpg)


I have to say, it looks great!
Title: Re: 60% layout issues
Post by: mrbishop on Fri, 27 November 2015, 22:13:45
Thanks!
Title: Re: 60% layout issues
Post by: neverused on Sat, 28 November 2015, 00:55:27
I was looking at keymap_common.h and it looks like keymap_ansi follows the behavior that you mention. Are you actually using that code or is it a carry over from the old gh60 code?
Title: Re: 60% layout issues
Post by: mrbishop on Sat, 28 November 2015, 00:56:08
Just the GH60
Title: Re: 60% layout issues
Post by: mrbishop on Sat, 28 November 2015, 01:04:27
Was running the poker version
Title: Re: 60% layout issues
Post by: neverused on Sat, 28 November 2015, 01:34:05
Yes but within that keymap_poker and keymap_common.h there is reference to keymap_ansi which is called by a function layer I believe.
Title: Re: 60% layout issues
Post by: mrbishop on Sat, 28 November 2015, 08:02:29
I haven't quite figured out how the firmware works so it's likely I just screwed something up
Title: Re: 60% layout issues
Post by: Charger on Sat, 28 November 2015, 08:48:29
I haven't quite figured out how the firmware works so it's likely I just screwed something up
there is a walk through on deskthority that i tend to look back on every few times when I mess  something up lol
http://deskthority.net/workshop-f7/how-to-build-your-very-own-keyboard-firmware-t7177.html
Title: Re: 60% layout issues
Post by: mrbishop on Sat, 28 November 2015, 13:01:13
Just the GH60

so being a total noob to modifying the firmware what would you suggest. i'm looking at the common.h under the ansi table and i noticed there is no comma inbetween some of the values in the matrix could that cause the keys to be moved over to the next row/column?


/* ANSI valiant. No extra keys for ISO */
#define KEYMAP_ANSI( \
    K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
    K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
    K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,      K2D, \
    K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, HERE    K3D, \
    K40, K41, K42,           K45,                     K4A, K4B, K4C, K4D  \
Title: Re: 60% layout issues
Post by: nephiel on Sun, 29 November 2015, 03:57:22

so being a total noob to modifying the firmware what would you suggest. i'm looking at the common.h under the ansi table and i noticed there is no comma inbetween some of the values in the matrix could that cause the keys to be moved over to the next row/column?


/* ANSI valiant. No extra keys for ISO */
#define KEYMAP_ANSI( \
    K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
    K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
    K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,      K2D, \
    K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, HERE    K3D, \
    K40, K41, K42,           K45,                     K4A, K4B, K4C, K4D  \
I don't see anything wrong there, on ANSI shift keys are wider than CapsLock and Enter, so this row has one key less than the row above.
Title: Re: 60% layout issues
Post by: mrbishop on Sun, 29 November 2015, 13:13:49
got it working. turns out there were some hardware issues i wasn't aware of and needed to put my eyes on again. thanks to Suicidal_orange for all the time and help getting me to look more closely at my build. ready for tuning this one and working on future builds 40% and full 114key monster as well as LED back lit ones and pcb creation!
Title: Re: 60% layout issues
Post by: ideus on Sun, 29 November 2015, 22:46:02
Nice job.