[Solved] Yet another MPC remote with 'back' & 'green button' problem (1 Viewer)

raffe

Portal Pro
March 28, 2008
270
94
MediaPortal Version: 1.1.3
MediaPortal Skin: Blue wide
Windows Version: 7 pro 32bit & XP pro 32bit
Remote:
I have a Fractal Design Shape HTPC remote control
Looks like this http://www.quietpc.com/se-se-eur/products/mediapc/fd-remote or Fractal Design shape HTPC remote control (FD-HTPC-shape) | Skinflint Price Comparison UK

I have also tried with a König CMP-MEDIAREM12 remote
Konig CMP-MEDIAREM12 Best Price | Cheapest Deals, Buy and Compare Cheap Prices Online

Problem:
The problem I have is:
1. Main problem is that the Back button don't work. Eg, if I as an example go from MAIN MENU into SETTINGS MENU, then I can't get back to MAIN MENU.
2. It would be nice to get the green "Windows" button to work, so it starts MediaPortal.

Tried:
Tried with both XP pro 32 and Win 7 pro 32 with MP 1.1.3, MPTray enabled & disabled, MCP checked and unchecked, IRTrans (don't really understand what to do with it) and IRSS (out-of-the-box and tried to check several 'remotes').

I have tried this (what I understod and could do):
IR Server Suite to resolve Remote Control Problems - My Home Theater PC Project
https://forum.team-mediaportal.com/ir-server-suite-irss-165/ir-server-suite-aka-irss-releases-75092/
https://forum.team-mediaportal.com/...mon-mce-remote-back-button-doesnt-work-77164/
https://forum.team-mediaportal.com/newcomers-forum-240/mce-remote-issues-windows-7-a-55421/
https://forum.team-mediaportal.com/remotes-116/mce-remote-configuration-questions-91981/
https://forum.team-mediaportal.com/remotes-116/mce-remotes-refuse-work-mediaportal-86304/

Will try:
I will try this:
"IRSS comes with a very useful Debug Client that will show you what your buttons are mapping out to"
IR Server Suite (IRSS) - MediaPortal Forum
IRTrans - MediaPortal Wiki
https://forum.team-mediaportal.com/general-support-51/koenig-rf-remote-72494/
Remote problem with MediaPortal - Soundgraph Forums
Cyberlink Remote Vs MediaPortal - Back button problems - AVForums.com
https://forum.team-mediaportal.com/general-62/silverstone-lascala-lc16-m-complete-guide-8043/
MCE Remote Replacement Driver FAQ
Melloware Forums • View topic - [SOLVED] Mediaportal & Emprex 3009 RF

Any tips?:
But before I get on with it. Have any of you any tips? Maybe even have the same remote, and can point me at the right direction?
 

raffe

Portal Pro
March 28, 2008
270
94
Re: Yet another MPC remote with 'back' & 'green button' problem

No luck. I have also tried this:

This got the "back" button to work:
https://forum.team-mediaportal.com/...7/generic-keyboard-remote-input-plugin-25755/

I will try this to get the Windows-button to start MediaPortal
AutoHotkey - Wikipedia, the free encyclopedia
or
AutoIt - Wikipedia, the free encyclopedia

EDIT:
Yes, it seems like I'm having some luck. "Generic Keyboard/Remote Input Plugin" (installed with MediaPortal Extension Installer) say my Windows-button on the remote sends Alt+WindowsFlag+Enter. So with AutoHotkey I plan to make a script with something like this (info from AutoHotkey Tutorial: Macro and Hotkey Creation and List of Keys and Mouse/Joystick Buttons for Hotkeys and Macros )
!#Enter::Run C:\PathToMediaPortal\MediaPortalStartFile.exe
 

raffe

Portal Pro
March 28, 2008
270
94
Re: Yet another MPC remote with 'back' & 'green button' problem

Success! :D

So far I have only tested this on my test PC at work. It has XP and home I have win7, but it looks good! EDIT: It works on Win 7 also :)

Wiki
I have now added all this info to the wiki:
Generic Keyboard/Remote Input Plugin - MediaPortal Wiki

Back button: Generic Keyboard/Remote Input Plugin
  1. I installed "Generic Keyboard/Remote Input Plugin", also called "KeyboardInputPlugin - Ruud Senden, SilentException", with MediaPortal Extension Installer ("C:\Program\Team MediaPortal\MediaPortal\MpeInstaller.exe)
  2. Start MediaPortal Configuration ("C:\Program\Team MediaPortal\MediaPortal\Configuration.exe") and go to Plugins > Keyboard Input Plugin > Config
  3. Imported Remote\MCE-Remote based mappings\Keyboard.xml
  4. Open Mappings - Generic Buttons - Back and click on Back (see no 1 in the picture under this ordered list)
  5. Click in the "Key:" text box (see no 2 in the picture under this ordered list) and then push the "Back" button on the remote. On my PC it now changes from None to Back (in "Key:" text box, see no 2 in the picture under this ordered list)
  6. Click on the Save & Close button
keyboardmappings.jpg


Windows button: AutoHotkey
  1. *** First I check what the Windows button sends to the PC
  2. Start MediaPortal Configuration ("C:\Program\Team MediaPortal\MediaPortal\Configuration.exe") and go to Plugins > Keyboard Input Plugin > Config
  3. Open any mapping to test Windows button (maybe Mappings - Generic Buttons - Back and click on Back (see no 1 in the picture above this ordered list)
  4. Click in the "Key:" text box (see no 2 in the picture above this ordered list) and then push the "Windows" button on the remote. On my PC it now say Alt+Win+Enter (in "Key:" text box). Write this down!
  5. Click on the Cancel button! Above was just a test, we do not want to save it! Generic Keyboard/Remote Input Plugin starts up AFTER MediaPortal has started, so it will not work when MediaPortal is not running. Thats why we need AutoHotkey (AutoHotkey - Wikipedia, the free encyclopedia)
  6. *** Now I will set up AutoHotkey to use the Windows button input to start MediaPortal
  7. Go to AutoHotkey Download and then install it (I used "Installer for AutoHotkey Basic")
  8. In the AutoHotkey.ahk script file I added this line (!#Enter = Alt+Win+Enter, info about key codes are from AutoHotkey Tutorial: Macro and Hotkey Creation and List of Keys and Mouse/Joystick Buttons for Hotkeys and Macros)
    Code:
    !#Enter::Run C:\Program\Team MediaPortal\MediaPortal\MediaPortal.exe
  9. Save and then start AutoHotkey
  10. Now the Windows button on the remote works for me, it starts MediaPortal

All other buttons: Generic Keyboard/Remote Input Plugin & AutoHotkey
With Generic Keyboard/Remote Input Plugin & AutoHotkey I'm sure I will get all button on my remote to work as they should, it may just take some time... Most button on the remote will probably work with Generic Keyboard/Remote Input Plugin, but if I get problems I'm sure AutoHotkey will help me fix the problems.

Thanks raffe for all help ;)
 

enanno

Portal Member
April 6, 2011
29
5
Home Country
Spain Spain
Thank you very much for this!

When I come back home today, I'll try your solution with my remote (showed below).
I haven't been able to properly make it work (only channel up/down, volume up/down and back button work!)

7182073-control-multimedia.jpg
 

enanno

Portal Member
April 6, 2011
29
5
Home Country
Spain Spain
:D
It worked!! :D

However, I'm not able to set the Toggle Desktop button.
My Desktop button is Win+D, but there isn't any function that shows my Desktop in the KeyboardInput plugin, and WinMinimizeAll command in AutoKey doesn't work either.

Any idea?
 

enanno

Portal Member
April 6, 2011
29
5
Home Country
Spain Spain
Oh.. mmm... Win+D is really the combination of keys that my remote sends when I push the desktop button on it.
The problem is that the desktop is not showed when I use AutoKey to tell it to execute the "WinMinimizeAll", for example.
I tried to set any other command like running an application like Notepad, etc. by pushing my desktop button, and it works.
So, I think it might be a kind of restrinction of MediaPortal, couldn't it?
 

raffe

Portal Pro
March 28, 2008
270
94
Hmm... Yes, you are probably rigth. As you and me are guessing (as we don't really know this stuff that good ;)), maybe we can guess that MediaPortal captures the Win+D, so it don't go to the operating system? What if you try something crazy like (I know it's farfetched, but...)
Code:
#d::Send {#d}
or maybe
Code:
#D::Send {#d}
 

Users who are viewing this thread


Write your reply...
Top Bottom