First and foremost, I am definitely a beginner when it comes to Juce and to C++ in general, however I do have a good deal of experience in other programming languages. That being said, please excuse me if this is a dumb question.
I’m working on a simple midi vst for myself and I’m trying to add a mousedown/mouseup trigger to the textbuttons built in to gui magic, but am currently only able to make onClick work. The main issue with that for me is that the event isn’t fired until the mouse is released. I was hoping someone could point me in the right direction as far as adding mousedown and mouseup triggers, as I haven’t really been able to find anything in the documentation. Even something like isMouseDown() to call and check if the button is pressed would be an enormous help.
Thank you for your time!
Edit: So it looks like I am unable to assign a midi controller button to a text button in my DAW. That pretty much defeats the purpose of what I was trying to achieve. So what I now need to do is find a way to make a toggle button to be momentary.