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
Area 51 - Testing Area
[MP1-4795] Add keyboard support to HID handler
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="Stéphane Lenclud" data-source="post: 1189491" data-attributes="member: 140174"><p>That should not be. Sounds like you are getting stuck on a mutex for some reason.</p><p>I tried yesterday the Auto3D plugin and that works nicely. Though I think you could make the code even simpler since there are left over from not using SharpLibHid.</p><p>Checkout the <a href="https://github.com/MediaPortal/Auto3D" target="_blank">Auto3D source code on GitHub</a> specifically that <a href="https://github.com/MediaPortal/Auto3D/blob/master/Auto3D/HIDInput.cs" target="_blank">HIDInput.cs file</a>.</p><p>Basically it registers for Window Messages through Application.AddMessageFilter.</p><p>Then it uses SharpLibHid when in Configure but not when in MediaPortal.</p><p>In theory you should be able to use SharpLibHid in both cases.</p><p>The difference is that you need to register devices only from Configure and not from MediaPortal.</p></blockquote><p></p>
[QUOTE="Stéphane Lenclud, post: 1189491, member: 140174"] That should not be. Sounds like you are getting stuck on a mutex for some reason. I tried yesterday the Auto3D plugin and that works nicely. Though I think you could make the code even simpler since there are left over from not using SharpLibHid. Checkout the [URL='https://github.com/MediaPortal/Auto3D']Auto3D source code on GitHub[/URL] specifically that [URL='https://github.com/MediaPortal/Auto3D/blob/master/Auto3D/HIDInput.cs']HIDInput.cs file[/URL]. Basically it registers for Window Messages through Application.AddMessageFilter. Then it uses SharpLibHid when in Configure but not when in MediaPortal. In theory you should be able to use SharpLibHid in both cases. The difference is that you need to register devices only from Configure and not from MediaPortal. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
[MP1-4795] Add keyboard support to HID handler
Contact us
RSS
Top
Bottom