Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Download 

 MediaPortal 1
            Releasenews | Download
 MediaPortal 2
            Releasenews | Download



Overview

Developing IR Server Remote plugins...

Adding Device Support

?All the devices supported by IR Server Suite follow a simple API. The "IR Server Plugin Interface". This interface is available in the source code of IR Server Suite, and is attached to this post as well.

To create a new IR Server Plugin all you need to do is implement the relevant interfaces from the API in a new dll.

All IR Server Plugins must extend the PluginBase class and override the relevant details.

Optional interfaces

  • IConfigure - Provides a configure button in the Input Service Configuration so the user can fine tune settings for the device.
  • IKeyboardReceiver - For devices that support a remote keyboard, e.g. MCE remote keyboard (theoretically any device that can receive time code information can decode remote keyboards and mouses).
  • ILearnIR - For devices that can learn IR commands to blast back later.
  • IMouseReceiver - For devices that support a remote mouse, e.g. MCE remote keyboard (with mouse).
  • IRemoteReceiver - For devices that support remote controls (this is optional because some devices are just blasters).
  • ITransmitIR - For devices that can blast IR commands.

For an example framework of an IR Server Plugin see the attached example code.

For a more detailed example download the IR Server Suite source code and look at one of the existing devices supported.

   

 

  • Keine Stichwörter

This page has no comments.