Update: Cosmetic changes, removed some debug stuff
This is a noisette file, not a module, but it does work.
You can configure the standard, slow, and fast speeds in by opening the "Move Speed Multiplier" custom variable and changing the presets. Check your camera's documentation, mine allows speed values from 0-17.
Here are the controls for a Nintendo Switch Pro Controller:
Left Stick - Pan/Tilt Standard Speed
ZL + Left Stick - Pan/Tilt Slow
ZR + Left Stick - Pan/Tilt Fast
D-Pad - Pan/Tilt at your camera's default speed
Minus - Send a stop command
Home Button - "Home" VISCA command, resets gimbal
A button - Recall Preset 1
B button - Recall Preset 2
Y button - Recall Preset 3
X button - Recall Preset 4
R + A button - Set Preset 1
R + B button - Set Preset 2
R + Y button - Set Preset 3
R + X button - Set Preset 4