Reputation: 171
I am trying to achieve the same functionality as multidigimon.exe, that is mapping an input digitizer to a given monitor, I was wondering if there is an API I can access or if the multidigimon.exe supports any parameters I can call it with to automate the mapping process.
So far I have found that multidigimon.exe writes the following registry key
key:20-\\?\hid#&col06#1&4784345&d&0005#{4d1e55b2-f16f-11cf-88cb-001111000030}
value:\\?\DISPLAY#Default_Monitor#5&5e64b29&0&UID268435456#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wisp\Pen\Digimon
Upvotes: 5
Views: 4085
Reputation: 171
I did not find an API; however, I think I know how to do it:
Find the monitor that you want to map the input to via EnumDisplayDevices, we are interestded in the DeviceID,
Find the correct instance of the input device
Write to the following registry key:
HKLM\SOFTWARE\Microsoft\Wisp\Pen\Digimon
Upvotes: 7