beginner: trying to write a plugin, need help to catch event (1 Viewer)

mrmojo666

MP Donator
  • Premium Supporter
  • January 24, 2006
    599
    179
    Turin
    Home Country
    Italy Italy
    Country flag
    Hi,

    I'm trying to develop a plugin

    I'm very very beginner , but at the moment I've already learn how to make plugin setup form in configuration.exe.
    Now i'm almost done to have a very simple process plugin. but i want to create a trigger that reacts when: or i press green button on MCE remote or when i press H button on keyboard etc.....
    Is it possible to catch events or actions or ....

    Thank you for any help

    my code is here : mrmojo666/marantz-control-mp-plugin
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,557
    10,376
    France
    Home Country
    France France
    Country flag
    Hi,

    I don't remember where but you can try to use/copy the code where MP uses this, I'm not a dev myself but I'm using existant code and trying to make it work while debugging.
    For sure I have seen this part of code because I have done something for Auto3D plugin, maybe you can look at this code to apply on your own, if I'm not wrong, I was able to attach a key to a menu (3D one) or add some key to it, I didn't remember exactly lol
     

    mrmojo666

    MP Donator
  • Premium Supporter
  • January 24, 2006
    599
    179
    Turin
    Home Country
    Italy Italy
    Country flag
    in the end, I've already managed to react to action, by changing plugin from process to windows plugin..... I have to polish some things then i will create a thread on the plugin forum to share my work to other denon or maratz owners or to who wants to improve the plugin.

    Thank you
     

    Users who are viewing this thread

    Similar threads

    Also, run the bat file on a Windows Scheduled Task, triggered by boot and resume from suspension. Tick the box of waiting for network, otherwise the command will be sent too soon.
    Also, run the bat file on a Windows Scheduled Task, triggered by boot and resume from suspension. Tick the box of waiting for...
    Marantz Control MediaPortal Plugin Marantz Control is a plugin for MediaPortal1 to send telnet command on a specific mediaportal...
    Replies
    4
    Views
    927
    Hi, only remotes with MCE compatible drivers are supported. I don't know details about the mentioned remote, but it's out of the supported list. MP2.2 contains a Input Manager, if you could not configure your remote with it, it looks not good. We are also working on extended HID support, but this most probably will not help you.
    Hi, only remotes with MCE compatible drivers are supported. I don't know details about the mentioned remote, but it's out of the...
    After many years of using MP1, these days I'm finally trying to upgrade to MP2.2. I already mastered several hurdles, but now I'm...
    Replies
    3
    Views
    1K
    Anecdotal testimonies are not helpful. If you guys would like to continue this chat, I'll move this thread to the Café section. The discussion about your issues is taking place here: Installation failing
    Anecdotal testimonies are not helpful. If you guys would like to continue this chat, I'll move this thread to the Café section...
    I have been looking for a replacement to Windows Media Center for a little over a year.No luck. Now, I'm no Microsoft fanboy, but I...
    Replies
    15
    Views
    2K
    We try to help you but the "I can not get them to work" is not too verbose error description. ;)
    We try to help you but the "I can not get them to work" is not too verbose error description. ;)
    Hi all, I want to write a tv server plugin for run a scheduled tv channel scan (the final goal it's a automatic renumber of all...
    Replies
    2
    Views
    1K
    You probably don't need to do that unless you're using the CI slot.
    You probably don't need to do that unless you're using the CI slot.
    Hello folks. I've been a long time user of Mediaportal 1.x. It has been a struggle getting my TBS 5881 card to work reliably...
    Replies
    3
    Views
    1K
    Top Bottom