Hey! I'm making a 3x3 media keys macropad with Teensy 3.2 as a project for trade school. I'm almost finished but I've ran into a problem. I'm getting incorrect inputs. The teensy seems to be reading the button I press and the buttons above it, even if I don't press those at that time. On the middle row its pretty rare but on the bottom row I get it on every press. So for example if I press button 4, it may also register button 1 as pressed and so it will both go to the previous song and reduce the volume, and on button 7 it always acts as if I pressed both 4 and 1. The bottom row is configured as joystick buttons because i plan on adding functionality with autohotkey later so they shouldnt do anything at this point right?
I'm using Bertruss's code from here
https://github.com/Bertruss/MM-Macro-Pad with some tiny adjustments for my build, namely the pins which are 0, 1, 2 for columns and 3,4,5 for rows. I wired the pad following BrownFox's guide. I'm using cherry blue switches and 1n4148 diodes. Any help would be appreciated as I'm completely lost. Thanks.