I scrolled a bit through the code and found nothing that would indicate that there’s a problem (of course, it works for everyone else i guess, but still).
Is it possible that there’s a grounding problem somewhere? I have to ground myself, otherwise it doesn’t work, and pads 6-8 don’t work as they probably should like i described, it’s weird. Any suggestions?