geekhack

geekhack Projects => Making Stuff Together! => Topic started by: Narann on Mon, 13 March 2017, 19:29:34

Title: Atreus Ctrl and Alt reverted?
Post by: Narann on Mon, 13 March 2017, 19:29:34
Hi and thanks for the Atreus, it's almost finish so big kudo to technomancy for making a such fun project for everyone! :thumb:

The official Atreus page (https://atreus.technomancy.us/) show this layout:

(https://atreus.technomancy.us/i/layout.png)

I compiled the latest firmware (https://github.com/tmk/tmk_keyboard) to check the layout and realize I have the same except Ctrl and Alt are reverted.

Is this normal? I reverted them back in keymap_qwerty.c and compile again and now I have the expected layout.

BUT I still ask because maybe there is a good reason for this. Maybe it's easier? I didn't type on it yet (waiting for the keycaps)

Of course I checked my wires using multiple references:

[attach=1]

If anyone have some info about this?

Thanks in advance and have a good day!
Title: Re: Atreus Ctrl and Alt reverted?
Post by: cribbit on Tue, 14 March 2017, 13:02:05
I can't tell what default wiring is supposed to be.

That said, if you want a fast fix just make your own firmware: http://qmk.sized.io/

I've found that choosing my own layout is much nicer than the default layout.
Title: Re: Atreus Ctrl and Alt reverted?
Post by: traktor on Sat, 18 March 2017, 01:34:13
It looks like you have flipped the row connections for your Crtl/Alt keys. In your picture, Alt (the left switch with the red wire going to it) has been connected to the third row and Ctrl has been connected to the fourth row. It should be the other way around.
Title: Re: Atreus Ctrl and Alt reverted?
Post by: Narann on Sat, 18 March 2017, 12:23:08
@cribbit:

I didn't know this website, thanks. It doesn't works for Atreus though.

@traktor

I just checked again and it looks like I've done the same than this:

(http://keathley.io/assets/images/atreus/atreus-11.jpg)

And here is an image of the official assembly guide (https://atreus.technomancy.us/assembly-hand-wired.pdf):

[attach=1]

So basically, from my understanding, I'm doing the same as the official assembly guide.

Any Atreus guy already having this issue?
Title: Re: Atreus Ctrl and Alt reverted?
Post by: cribbit on Sat, 18 March 2017, 15:34:14
You'll have to create the KLE format (http://www.keyboard-layout-editor.com/) to get it to work with an Atreus. I'll see if I can dig up my files for it.
Title: Re: Atreus Ctrl and Alt reverted?
Post by: Narann on Sat, 18 March 2017, 15:43:34
That could be very nice!
Title: Re: Atreus Ctrl and Alt reverted?
Post by: traktor on Sun, 19 March 2017, 02:38:46
I think the KEYMAP macro that you are relying on has changed since that guide was written. This change might have been unintentional by the author (i.e. a bug) but it can be fixed in multiple ways, either by switching around the keys in the keymap config as you did, or better by editing the KEYMAP_PCBUP macro in keymap_common.h so it looks like this:

Code: [Select]
#define KEYMAP_PCBUP( \
  K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
  K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
  K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, \
  K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A \
) {                                                                     \
  { K00, K01, K02, K03, K04, KC_NO, K05, K06, K07, K08, K09 }, \
  { K10, K11, K12, K13, K14, KC_NO, K15, K16, K17, K18, K19 }, \
  { K20, K21, K22, K23, K24, K35,   K25, K26, K27, K28, K29 }, \
  { K2A, K30, K31, K32, K33, K34,   K36, K37, K38, K39, K3A }      \
}