Which will trigger an action on premiere pro. I want though to be able to assign this on an encoder, a different one for left rotation and another one I have for right rotation
You can create a package for the Grid Editor using JS that will run in node to do that! Packages can be hot loaded into Grid Editor. Check the following examples: