Reply to thread

Hi all,


Here are some answers and remarks for some of the previous posts:

  • MediaPortal 'Key Pressed' action: By looking at the MediaPortal source, I think this doesn't actually generate a key press, but generates a MediaPortal 'key pressed' action event. If the specific MediaPortal feature actually listens for actual key presses instead of MediaPortal events, then the 'Key Pressed' action will not have any effect. By looking at the source, I think you can edit the Keyboard.xml file to use <action ... command="KEY" cmdProperty=" " ...> to actually send a space. See SendKeys method documentation (SendKeys Method) for valid cmdProperty values.
  • My test program seems to intercept key code 93 (context menu key) correctly, I will try to do some more testing with the actual plug-in in the near future.
  • The new keyboard handling mechanism uses a low-level keyboard hook. It is either this and being able to intercept as many keystrokes as possible, or using the original mechanism which intercepts only a limited set of keystrokes (no Win-keys and other special windows key combinations). The disadvantage of the new mechanism is that it may indeed influence other low-level keyboard utilities, has some issues with key pass-through, etc. I encountered a lot of problems with my own remote when using the new mechanism (for example keyup-events not fired), the current status is the best I've been able to get it so far. Of course, I will keep on tweaking the plug-in whenever I think I found an improvement (and as time permits). In a next version I will also add some more logging in order to help solving problems. Of course, any help with improving this plug-in is welcome.
  • I'm not sure whether this plug-in works with the latest SVN version; due to time constraints I only compile and test this plug-in against the latest released version (being 1.0 RC3).
  • Regarding any other questions, like learning additional keystrokes for a learning remote; I have no idea how to do this or whether it is at all possible.


Top Bottom