Input Mapper and LiveDriveIR Plugins
I've written two plugins: InputDeviceMapper and LiveDriveIR.
InputDeviceMapper accepts events passed to it by other plugins, maps them to Actions, and then passes those Actions on to MediaPortal for processing.
LiveDriveIR listens to the IR receiver on any LiveDriveIR (or Audigy Drive, etc.), and passes any events received to InputDeviceMapper. This plugin works by passing any System Exclusive (sysex) messages it receives on a given MIDI device on to InputDeviceMapper. For those who don't know, the LiveDriveIRs sends any signal their IR receivers pick up as Sysex messages on a MIDI device. The result is that this plugins turns the LiveDriveIR into a generic IR remote reciever. A receiver that, in conjunction with InputDeviceMapper, can control MediaPortal with any IR remote.
Why did I split this functionality into two plugins? The idea is that, now, any plugin can use InputDeviceMapper to map device events to MediaPortal Actions. A plugin that listens to the game port, for example, and passes any event it receives to InputDeviceMapper would allow one to control MediaPortal with gamepads/joysticks.
The mappings used by InputDeviceMapper are completely configurable, allowing any event to be mapped to any Action, at the user's dicrestion.
Both plugins work brilliantly for controlling MediaPortal; the only gremlin in their workings is in their interaction on the configuration side. Said problem will be detailed in a later thread (being written right after this post). I will edit in a link to said thread once it's started.
As promised, here is the thread.
The plugins have been uploaded as patches: InputDeviceMapper, LiveDriveIR
[EDIT]
Here are the threads that should be used for general discussion about these plugins: InputDeviceMapper, LiverDriveIR.
Technical discussions about the plugins, if they exist, are linked to from the above threads.
[/EDIT]
I've written two plugins: InputDeviceMapper and LiveDriveIR.
InputDeviceMapper accepts events passed to it by other plugins, maps them to Actions, and then passes those Actions on to MediaPortal for processing.
LiveDriveIR listens to the IR receiver on any LiveDriveIR (or Audigy Drive, etc.), and passes any events received to InputDeviceMapper. This plugin works by passing any System Exclusive (sysex) messages it receives on a given MIDI device on to InputDeviceMapper. For those who don't know, the LiveDriveIRs sends any signal their IR receivers pick up as Sysex messages on a MIDI device. The result is that this plugins turns the LiveDriveIR into a generic IR remote reciever. A receiver that, in conjunction with InputDeviceMapper, can control MediaPortal with any IR remote.
Why did I split this functionality into two plugins? The idea is that, now, any plugin can use InputDeviceMapper to map device events to MediaPortal Actions. A plugin that listens to the game port, for example, and passes any event it receives to InputDeviceMapper would allow one to control MediaPortal with gamepads/joysticks.
The mappings used by InputDeviceMapper are completely configurable, allowing any event to be mapped to any Action, at the user's dicrestion.
Both plugins work brilliantly for controlling MediaPortal; the only gremlin in their workings is in their interaction on the configuration side. Said problem will be detailed in a later thread (being written right after this post). I will edit in a link to said thread once it's started.
As promised, here is the thread.
The plugins have been uploaded as patches: InputDeviceMapper, LiveDriveIR
[EDIT]
Here are the threads that should be used for general discussion about these plugins: InputDeviceMapper, LiverDriveIR.
Technical discussions about the plugins, if they exist, are linked to from the above threads.
[/EDIT]