I'm trying to create a batch script which would swap the monitor my tablet tracks the cursor on. (I have the Huion H420, same as osu!tab.)
As far as I know, all the tabcfg.exe config application changes when swapping the monitor is modify a registry value "MapMonitorType" between 1 and 2. As seen here: http://kuvaton.com/k/yArQ.png, every other value stays the same. Changing this value alone doesn't do anything, though, and this is what I need help with.
If I change the registry value and restart "WinTabService" (C:\> NET STOP WinTabService && NET START WinTabService) the monitor does get switched. This takes around 5 seconds, though, so it defeats the purpose since while waiting I could just grab the mouse.
How does tabcfg.exe do this instantly? Any ideas?
As far as I know, all the tabcfg.exe config application changes when swapping the monitor is modify a registry value "MapMonitorType" between 1 and 2. As seen here: http://kuvaton.com/k/yArQ.png, every other value stays the same. Changing this value alone doesn't do anything, though, and this is what I need help with.
If I change the registry value and restart "WinTabService" (C:\> NET STOP WinTabService && NET START WinTabService) the monitor does get switched. This takes around 5 seconds, though, so it defeats the purpose since while waiting I could just grab the mouse.
How does tabcfg.exe do this instantly? Any ideas?