Hey guys and gals. I'm new to the forum and to Arduino in general. I'm interested in building a driving sim button box, like the one AMStudio describe in their YouTube video here: MAKE THIS BUTTON BOX | 32 FUNCTION w ENCODERS - YouTube
In the description of the video, they include a link for a sketch that they created themselves. I have a Pro Micro board, and have uploaded the sketch they provide, and connected a couple of switches to test it. It all works exactly as advertised. No issues at all.
Which brings me to my question. Is it possible to modify the sketch code in order to make a single, specific switch behave differently that all the others? Here's an example of what I mean - Can a toggle switch at button location 7, be made to act more like a momentary push button. I.E. if you switch the toggle from OFF to ON, the output goes HIGH for a specified time (500ms, or so), and then goes back LOW and stays there. When you flip the switch from ON back to OFF, the same action takes place. Again, but ONLY switch 7 will work this way. All others work just as described in the sketch.
Is something like that possible? I know almost nothing about coding, but I have been messing with their sketch a bit. I've been able to modify it to make switches behave like I described, but it causes ALL of the switches to behave that way. And that's not what I want.
So is that possible?
Here's a link directly to the sketch : GitHub - AM-STUDIO/32-FUNCTION-BUTTON-BOX
Thank you so much for any input you can provide!