I’m having trouble figuring out what’s wrong with my files for compiling. the initial errors are pointing to the .h and corresponding part in the keymap.c files but it seems fine to me? i haven’t even managed to get to figuring out the joystick part which is where i thought i would start having a bunch of trouble
Unsure the best way to show files but I don’t think copy pasting them into the body of this post would be best so I’ve uploaded here: https://drive.google.com/drive/folders/1WKobV73ZdovPCUUcp0jLBLaX8L6IFEmp?usp=drive_link
The txt file shows the error text I get when trying to compile
Thank you
Looking at what you’ve done I think the issue is your LAYOUT macro. You’ve got different sized nested arrays declared. In keymap.c you declare that keymaps is a MATRIX_ROWS by MATRIX_COLS array, but in your macro for LAYOUT you define the first 5 rows as having 7 entries, and the remaining 5 rows as having 6 entries so it can’t work out if you want a 10x7 array or a 10x6 array.
Edit: also taking a look at config.h looks like MATRIX_COLS is defined as 6, so you’ve got 1 extra key defined in each of your first 5 rows.
Yes I spotted that error and made it 7 but forgot to update the Google drive! 😅
Does your keyboard have asymmetric halves? The left having 7 columns and the right having 6? As the other commenter pointed out you have defined 6 columns but your layout macro in
eiris.h
has 7 elements for the left hand. I think the way to solve it is to define it as 7 columns, addNO_PIN
to the end ofMATRIX_COL_PINS_RIGHT
and then just addXXX
to the end of all the rows for the right half in your layout macro ineiris.h
.This is outlined in the documentation
Yes there’s one extra column on the left.
I’d spotted that error but forgot to update the Google drive after updating the .h file. I’ll try adding no pin!
Thank you!
Edit: that solved the LAYOUT errors!
Now it’s just the QK_BOOT and joystick code errors
For the joystick part, do you have
JOYSTICK_ENABLE = yes
in yourrules.mk
?