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="nicsergio" data-source="post: 1167561" data-attributes="member: 104167"><p>Hi all,</p><p></p><p>the problem that I encountered is explained in this post: <a href="https://forum.team-mediaportal.com/threads/shortcuter-plugin-v2.121721/page-6#post-1122517" target="_blank">https://forum.team-mediaportal.com/threads/shortcuter-plugin-v2.121721/page-6#post-1122517</a></p><p></p><p>I modified PreFilterMessage:</p><p></p><p>[code=csharp]</p><p>public bool PreFilterMessage(ref Message m) </p><p> {</p><p> if (m.Msg == WM_INPUT)</p><p> if (m.WParam == (IntPtr)0 || _backgroundInput)</p><p> if (KeyDown != null) </p><p> return ProcessRawInput(m.LParam);</p><p> return false;</p><p> }</p><p>[/code]</p><p></p><p>and ProcessRawInput, in this point:</p><p></p><p>[code=csharp]</p><p> KeyDown(this, kea);</p><p> if (kea.Handled)</p><p> return true;</p><p>[/code]</p><p></p><p></p><p>Attached RawInputHook class that I use to intercept keystrokes.</p><p></p><p>I hope it was useful</p></blockquote><p></p>
[QUOTE="nicsergio, post: 1167561, member: 104167"] Hi all, the problem that I encountered is explained in this post: [URL]https://forum.team-mediaportal.com/threads/shortcuter-plugin-v2.121721/page-6#post-1122517[/URL] I modified PreFilterMessage: [code=csharp] public bool PreFilterMessage(ref Message m) { if (m.Msg == WM_INPUT) if (m.WParam == (IntPtr)0 || _backgroundInput) if (KeyDown != null) return ProcessRawInput(m.LParam); return false; } [/code] and ProcessRawInput, in this point: [code=csharp] KeyDown(this, kea); if (kea.Handled) return true; [/code] Attached RawInputHook class that I use to intercept keystrokes. I hope it was useful [/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