Can i use my HP pavilion remote with MP? (1 Viewer)

U

Unregistered

Guest
hello...
i have a laptop hp pavilion 6160ea..it come with a small remote
i was wondering if i can configure it so it will work with MP...now only the directional buttoms works...play stop rewind not working in MP...

can anyone guide me how to configure this remote (if it's even possible)

thx

pilot2_01.jpg
 

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Is there any software with the remote that lets you remap the remote keys to keystrokes?
    have you tried to just enable mce compatible remote control in mediaportal, it might send the same IR codes as the MCE remote?
    (MP Config -> Remotes -> Enable MCE remote)
     

    holyman

    New Member
    January 5, 2010
    4
    0
    Ok guys a little update...

    i managed to configure all the buttons on this remote with the help of an old thread
    https://forum.team-mediaportal.com/remotes-116/pavilion-dv9640us-remote-control-31939/
    AutoHotkey did the job with this script by the user "Lolento":

    DetectHiddenWindows, on
    SetTitleMatchMode, 1

    #!Enter::
    IfWinNotExist, MediaPortal
    Run "C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe"
    Else
    {
    IfWinNotActive
    WinActivate
    Else
    Send {h}
    Return
    }

    SC10E::
    IfWinNotExist, MediaPortal
    Run "C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe"
    Else
    {
    IfWinNotActive
    WinActivate
    Else
    Send {o}
    Return
    }

    SC108::
    IfWinNotExist, MediaPortal
    Run "C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe"
    Else
    {
    IfWinNotActive
    WinActivate
    Else
    Send {t}
    Return
    }

    #IfWinActive, MediaPortal
    {
    BS::Esc
    SC15F::!F4
    SC15D::F9
    SC119::F8
    SC110::F7
    SC122::p
    SC124::b
    ^+f::F6
    ^+b::F5
    Return
    }

    my only problem is that the play/pause button doesn't do anything when i play movie or music...like it's the wrong button ID for example (SC122) i dunno...tried to contact the user for help but no answer yet..

    soo maybe one of you know how do i know my remotes buttons codes or ID ?? like the user "Lolento" wrote ex: SC15F,SC15D,SC119 and soo on...


    thx ahead
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    goto autohotkey forums, find showkey.exe i think this little script gives you the SC### codes. Otherwise i know that you can install autohotkey, then goto the debug info window, you can see the codes whenever you press keys / buttons. that is how i made a script for my silverstone case buttons for mediaportal.

    But i suggest before that you just try enabling mce compatible remote, because i'm sure it sends the same codes for play/stop etc.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I couldn't find showkey.exe this time either.

    try this;

    install autohotkey
    edit the default script that comes with autohotkey (inside my documents)
    add the following line, leave the rest of the default script inplace
    Code:
    #InstallKeybdHook
    run autohotkey default script, double click on the autohotkey taskbar icon, click on view -> "Key history & script info"
    press some random keys on the keyboard, then press F5 to refresh the window, notice that the key codes appear in the window

    eg. The spacebar key looks like this

    20 039 d 3.24 Space
    20 039 u 0.17 Space

    See if autohotkey can see your remote buttons, if so you can map them to keystrokes for mediaportal
     

    holyman

    New Member
    January 5, 2010
    4
    0
    Thx alot!
    gonna try it asap!

    EDIT:

    well hehe i can't believe but i made it!!! haha
    it appears that the author of that script made a small mistake with the pause/play button...i checked the key shortcuts in mp options and i saw that the space key is the key to pause/play movie...then i checked his script again and i saw that he assigned the P keys and it means start playing in mp setup..so i simply changed it to space and now it works...im soo happy at last!

    thank you your method worked too
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    oh the other thing you can try is -> MP Config -> Remotes -> Enable General HID remote/keyboard. I kinda assumed you had tried that already, but maybe you havn't.
     

    Users who are viewing this thread

    Top Bottom