Hi all,
we are glad to announce that the SlicerArduinoController extension now has a new module for controlling Slicer view via a dedicated pedalboard connected to Arduino.
For the moment, just a basic set of instructions are implemented.
Any comments/suggestions/contributions are more than welcomed!
@lassoan we just picked a (random) pedalboard up and we customized it for our purpose (we took advantage of the mechanical part already there).
Whatever 3-buttons hardware can be used.
We bought similar USB foot switches before and they were configurable to send keyboard shortcuts or mouse events when a button was pressed. Since any keyboard shortcut can be mapped to any Python command, it might be simpler to use foot switches like this without modifications if the goal is to simply trigger software functions by the press of a pedal. Of course there could be more complex use cases for that is better if the arduino processes pedal signals. It would be nice to find and document those kind of more complex use cases.
That’s definitely an option.
Our idea was to catch the signal from Arduino board and use it for calling a slicer function that modifies the view.
Ideally, we could call whatever function.