If I take the SharpDX RawInput sample, and change the line Device.RegisterDevice(UsagePage.Generic, UsageId.GenericMouse, DeviceFlags.None);
to Device.RegisterDevice(UsagePage.Generic, UsageId.GenericMouse, DeviceFlags.ExclusiveInputSink);
then mouse input breaks for the demo.
Am I doing something wrong?
I want to be able to do the same as in the demo, but not require the user to click the GUI to begin capture.
If I take the SharpDX RawInput sample, and change the line
Device.RegisterDevice(UsagePage.Generic, UsageId.GenericMouse, DeviceFlags.None);
to
Device.RegisterDevice(UsagePage.Generic, UsageId.GenericMouse, DeviceFlags.ExclusiveInputSink);
then mouse input breaks for the demo.
Am I doing something wrong?
I want to be able to do the same as in the demo, but not require the user to click the GUI to begin capture.