home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
IR Server Suite (IRSS)
"Philips MCE USB IR Receiver- Spinel plus" (shipping with some Zotac Boxes)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="belcom" data-source="post: 878387" data-attributes="member: 89055"><p><span style="font-family: 'arial'">@<a href="https://forum.team-mediaportal.com/members/chefkoch.10438/" target="_blank">chefkoch</a>:</span></p><p><span style="font-family: 'arial'">Found an easy way to enable plug&play with my receiver:</span></p><p><span style="font-family: 'arial'">Just RegisterRawInputDevices() (user32.dll) with usUsagePage, usUsage and ReceiverWindow.Handle (with RawInputDeviceFlags.InputSink of course).</span></p><p><span style="font-family: 'arial'">The device doesn't need to be attached at this time.</span></p><p><span style="font-family: 'arial'">As soon as a device with this Usages comes online and sends commands, the Window gets the Messages.</span></p><p><span style="font-family: 'arial'">No need to look for vid&pid in enumeration of all (attached) devices!</span></p><p> </p><p><span style="font-family: 'arial'">But you can filter for vid&pid while processing the message, if you want to go for sure that YOUR device is sending it.</span></p><p> </p><p><span style="font-family: 'arial'">Hope that helps.</span></p><p><span style="font-family: 'arial'">Going to make my new plugin plug&play <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></span></p><p> </p><p><span style="font-family: 'arial'">belcom.</span></p></blockquote><p></p>
[QUOTE="belcom, post: 878387, member: 89055"] [FONT=arial]@[URL='https://forum.team-mediaportal.com/members/chefkoch.10438/']chefkoch[/URL]:[/FONT] [FONT=arial]Found an easy way to enable plug&play with my receiver:[/FONT] [FONT=arial]Just RegisterRawInputDevices() (user32.dll) with usUsagePage, usUsage and ReceiverWindow.Handle (with RawInputDeviceFlags.InputSink of course).[/FONT] [FONT=arial]The device doesn't need to be attached at this time.[/FONT] [FONT=arial]As soon as a device with this Usages comes online and sends commands, the Window gets the Messages.[/FONT] [FONT=arial]No need to look for vid&pid in enumeration of all (attached) devices![/FONT] [FONT=arial]But you can filter for vid&pid while processing the message, if you want to go for sure that YOUR device is sending it.[/FONT] [FONT=arial]Hope that helps.[/FONT] [FONT=arial]Going to make my new plugin plug&play :)[/FONT] [FONT=arial]belcom.[/FONT] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
IR Server Suite (IRSS)
"Philips MCE USB IR Receiver- Spinel plus" (shipping with some Zotac Boxes)
Contact us
RSS
Top
Bottom