Add function to widget

Hello!
I'm just trying to add a simple "robot.keyPress(KeyEvent.VK_UP)" to the EMG widget, such that when the muscle flexes and circle grows, it presses the down key. 

I feel like this is super simple, and is just adding a couple of lines of code in some places. 
I was wondering if someone could help me out with this in the next 24 hours? 

Thank you so much for all of your help - I really do appreciate it!

Sign In or Register to comment.