Is your feature request related to a problem? Please describe.
I was recently trying to detect when the submit button was pressed in elastic. I tried detecting it by seeing if the current value is not equal to the last read value, but that didn't work when I wanted to submit the same value more than once.
Describe the solution you'd like
- Add listener to network table entry to check when submit button is pressed.
Describe alternatives you've considered
- Call function when submit button is pressed
- Update a SmartDashboard boolean to true when submit button is pressed (Can be manually changed to false and apply logic)
Is your feature request related to a problem? Please describe.
I was recently trying to detect when the submit button was pressed in elastic. I tried detecting it by seeing if the current value is not equal to the last read value, but that didn't work when I wanted to submit the same value more than once.
Describe the solution you'd like
Describe alternatives you've considered