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
MediaPortal 1
MediaPortal 1 Plugins
Auto3D plugin for MediaPortal 1.2 - 1.12 (GUI & TV/Beamer)
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="mm1352000" data-source="post: 1167680" data-attributes="member: 82144"><p>You're right. It had been too long since I looked at my code. I should have said usage-page/usage. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite10" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite11" alt=":rolleyes:" title="Roll Eyes :rolleyes:" loading="lazy" data-shortname=":rolleyes:" /></p><p>So I mean (example): can one window register to receive the general desktop page while another registers to receive the keyboard/kepad page? ...or what about different windows registering for different usage ranges on the same usage page?</p><p></p><p></p><p>Ha, I don't blame you. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>Note that Hauppauge remotes are already supported using the first method, so it isn't as over the top as you might think. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p></p><p>My comment was to point out that the definition of "you" and "your" appears to be limited to one window. As it says in the doc, you <strong>must </strong>provide the window handle:</p><p></p><p></p><p>So my understanding is that <em>only that single registered window</em> would receive the desired WM_INPUT messages for the given usage-page + usage range combination. In the context of this discussion, the implication is that the MP HID handler's window will be the only window that receives messages (regardless of background/focus status).</p><p></p><p>Further, the limitation to one window receiving messages still applies overall when registration is done without RIDEV_INPUTSINK. However, the actual receiving window changes depending on which window has focus. If your receiver window never has focus then I'd expect it never receives any raw input WM_INPUT messages.</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1167680, member: 82144"] You're right. It had been too long since I looked at my code. I should have said usage-page/usage. :oops::rolleyes: So I mean (example): can one window register to receive the general desktop page while another registers to receive the keyboard/kepad page? ...or what about different windows registering for different usage ranges on the same usage page? Ha, I don't blame you. :) Note that Hauppauge remotes are already supported using the first method, so it isn't as over the top as you might think. ;) My comment was to point out that the definition of "you" and "your" appears to be limited to one window. As it says in the doc, you [B]must [/B]provide the window handle: So my understanding is that [I]only that single registered window[/I] would receive the desired WM_INPUT messages for the given usage-page + usage range combination. In the context of this discussion, the implication is that the MP HID handler's window will be the only window that receives messages (regardless of background/focus status). Further, the limitation to one window receiving messages still applies overall when registration is done without RIDEV_INPUTSINK. However, the actual receiving window changes depending on which window has focus. If your receiver window never has focus then I'd expect it never receives any raw input WM_INPUT messages. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Auto3D plugin for MediaPortal 1.2 - 1.12 (GUI & TV/Beamer)
Contact us
RSS
Top
Bottom