I have this little macro pad with a rotary encoder that uses QMK to program in hotkeys. I've been using it mostly as a quick way to edit/scrub the timeline in Premiere.

But recently, I started a new job with the same repetitive task in Photoshop: Toggle the crop tool, crop in a little bit maintaining the original ratio (either horizontal or vertical), pop a quick curves adjustment, unsharp mask, and save out. And they're not interested in a non-destructive workflow.
So... it got me wondering if I could use this macropad's rotary dial to somehow be able to control rotating the crop tool. Theoretically so I could map "C" to one of the buttons, rotate the dial to bring in the crop with precision, and then map the remaining steps to buttons under the dial. The idea being that I could do this with one hand on the macro pad, very quickly with minimally using the mouse (or not using it at all). Just to speed it up as much as humanly possible.
Anyone have any thoughts? Scripts maybe? @Kukurykus , is this a job for XMBC?
Thanks in advance.