This is a way to create shortcuts to switch between presets in OpenTabletDriver. Using OpenTabletDriver and ahk, however on desktop shortcuts can be made without ahk.
This method is somewhat long, and doesn't really have an easy application so follow the steps to make this work.
Go to OTDs interface, in the top left, go to file and save your desired settings in the save as option and put it where you can accses it later, do the same for the other preset you want. Now you have 2 .json files
Create 2 .txt files, or copy the code in my .bat file and edit the file directories to your own. To look for the settings.json, look for the OTD folder within appdata, where OTD stores its files, however you can just search all files for a setting.json and check for the one in an OTD folder, it might be easier to use the everything file searcher. Copy the file directory and replace it for both .bat files where it says in the code
Okay now, the two .json files, get the directory of x and put it in x .txt file, get the directory of y and put it in y .txt where it says in the code Okay now test out the .txt files, rename to .bat file, and click, it should be able to switch between both after a slight delay.
Now This is the optional step, ahk intergration, this is a lot easier, just look at my ahk file replace the keybinds to your liking, and then put in the file directory of x.bat, and for the other y.bat, also for the y section add in your keybinds. Create this as a txt file right click and tun with ahk. Done./