MATRIX on a 3.2 Teensy 97% working

Hi folks,

So this project im working on is really making progress now.
Its a custom game controller based on a number of pushbuttons and flipswitches wired into a matrix - connected to a Teensy 3.2

Today after a lot ... really a lot of soldering i put all the wires in place, that is, all the rows, and all the columns, then connected it al onto a breadboard for a quick testfire

There are 4 rows, and 7 columns and acoording to the script (code) im using, the rows are wired into port 14, 15, 16, and 17 - and the columns are wired into 0, 1, 2, 3, 4, 5, and 6

Also ive put in a resistor because it seems to need that for a matrix, so that one press wont enable a whole row or column

Here's the thing,

im testing in the serial monitor, all buttons register Press, Hold, Release and Idle
All except for 3 of them, thats 2 pushbuttons and 1 flipswitch..

The two pushbuttons are on Row 1, and on Column 6 and 7 - the flipswitch is on Row 3 and column 7

I checked the soldering, theres no problem there, but these 2 buttons and one flipswitch only register Idle when i push them..

With everyu other button or switch i can see it registering all steps, along with a letter, number or symbol in the top of the serial monitor, but these three dont register anything, apart from the scrolldown field, saying Idle..

What on earth am i missing here?
Ive been at this project for a long time now and went 3 times over budget.. this nasty surprise is surely throwing a spanner in the works..

Anyone any idea on how to troubleshoot this? Or make sense of whats wrong here?
Im thinking its somewhere in the code, but since i havent written it myself, only followed the step by step tutorial on how to build a thing like this, i wouldnt know what to look for..

I can provide the whole code if this would help, its also available on

Thats the sort of thing im building, only with a few lesser pushbuttons, so the Rows And Columns are not excactly the same as on the original one..

I hope im making sense here, cause the problem im having surely isnt :slight_smile: