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
Integration of new Hardware IR Receiver / Transmitter
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="mPod" data-source="post: 35846" data-attributes="member: 11199"><p>Well, it shouldn't be that hard to code. Some days ago I checked in some stuff for x10 remotes. And your device seems to use the same technique to send commands to the app.</p><p></p><p>If you'd like to have a look, it's in mediaportal\RemotePlugins\X10Remote\ in our CVS repository.</p><p></p><p>Principle behind it (in short): The commands are being received by an OCX and then converted to some integer values. Those int values are being compared against a mapping in an XML mapping file (user-configurable with MP's own mapping editor).</p><p>After that, if the condition is true, the mapping is being executed.</p><p>I dunno if your OCX (or driver) already handles button repeat handling. If not, you'd have to implement logic for that into the MP "bridge" plugin.</p><p></p><p>Because your device "talks" to the app in a similar way the x10 remotes do, the existing code should be the perfect template for you. Of course, you can copy all stuff and put it into a ProcessPlugin DLL, so you can distribute it (maybe as a free bundle with your device, dunno).</p><p></p><p>Sorry, guys. 2 German sentences follow:</p><p>(BTW, ich habe nicht gesagt, dass die Doku für mich Englisch sein muss. Mir reicht auch Deutsch. Mir fehlt nur irgendwie die Motivation, ohne ein Device und nur für 2-3 Leute...)</p></blockquote><p></p>
[QUOTE="mPod, post: 35846, member: 11199"] Well, it shouldn't be that hard to code. Some days ago I checked in some stuff for x10 remotes. And your device seems to use the same technique to send commands to the app. If you'd like to have a look, it's in mediaportal\RemotePlugins\X10Remote\ in our CVS repository. Principle behind it (in short): The commands are being received by an OCX and then converted to some integer values. Those int values are being compared against a mapping in an XML mapping file (user-configurable with MP's own mapping editor). After that, if the condition is true, the mapping is being executed. I dunno if your OCX (or driver) already handles button repeat handling. If not, you'd have to implement logic for that into the MP "bridge" plugin. Because your device "talks" to the app in a similar way the x10 remotes do, the existing code should be the perfect template for you. Of course, you can copy all stuff and put it into a ProcessPlugin DLL, so you can distribute it (maybe as a free bundle with your device, dunno). Sorry, guys. 2 German sentences follow: (BTW, ich habe nicht gesagt, dass die Doku für mich Englisch sein muss. Mir reicht auch Deutsch. Mir fehlt nur irgendwie die Motivation, ohne ein Device und nur für 2-3 Leute...) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Integration of new Hardware IR Receiver / Transmitter
Contact us
RSS
Top
Bottom