This is a simple question, but i’m a rookie programmer and our mentor isn’t here tonight. I want to have a switch on our operator interface, that’ll run a function, but I don’t want to use one of the joystick buttons. Whats the code alias for a normal switch?
Where exactly is the button?
Is it through the competition block, or through a joystick block??
Not too sure what you mean, it will be on the operator interface, near the joysticks. But it won’t be a button on the joystick.
What is the button connected to the operator interface from?
What port is it connected to on it…
Sorry, I can’t answer these questions because I honestly don’t know. I’ll ask the mentor tomorrow, thanks for your help anyways.
There are two “aux” switch inputs on each joystick port. The program aliases are something like p1_sw_aux1. They’re all in the ifi_aliases.h file.