tags:

views:

82

answers:

1

Hello all

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

A: 

for anyone outhere looking for an answer.

I did not find an api however I think I know how to do it:

1.Find the monitor that you want to map the input to via EnumDisplayDevices, we are interestded in the DeviceID,

2.Find the correct instance of the input device

  1. Write to the following reg key

"HKLM\SOFTWARE\Microsoft\Wisp\Pen\Digimon"

key = [you input device path instances] value =[your monitor device path]

  1. restart wisptis.exe,
Stb