Gyration MCE Remote Supported (3 Viewers)

ObiYawn

Portal Member
May 4, 2008
10
0
Code:
#NoTrayIcon
#SingleInstance force

OnMessage(0x218, "WM_POWERBROADCAST")
 
WM_POWERBROADCAST(wParam, lParam)
    {
    If wParam=0
        {
	Process, Exist, MediaPortal.exe
	If ( errorlevel > 0 )
;		Process, Close, MediaPortal.exe
		Send, !{F4}
	Else
		Run, "C:\Programme\Team MediaPortal\RC.exe"
        Return  0x424D5144
        }
    Else
        Return
    }

Unfortunately, my PC still goes to sleep when I press the power button on the Gyration remote, even after implementing the above AutoHotKey script. My OS is Win XP Pro (not MCE, not Vista) -- not sure if this makes any difference in the behavior of the power button.
 

level20peon

MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    102
    44
    Aachen
    Home Country
    Germany Germany
    It works on XP pro SP3 and 2003 SP2 here... don't estimate me to use Vista please :p

    Have you tried to set the power button to shutdown the PC in the control panel -> energy options ?


    -level20peon
     

    posterberg

    Portal Member
    November 24, 2005
    21
    0
    Malmö
    Home Country
    Sweden Sweden
    Hi,

    I followed the thread and I get everything working except for a few keys on the remote.

    Volume up, Volume down, Mute, Channel up, Channel down, My TV, My Pictures, My Music, My Videos

    I thought that at least Volume Up / Down and Mute should generate the normal keyboard events for those keys. Is this incorrect? It seems like you guys have ot them working correctly.

    I sent a mail to support@gyration.com and they told me that these keys only will work in WinMCE and that they don't generate normal keyboard events.
    They weren't very helpful I must say...

    This leaves me puzzled when you have got it working.

    I get absolutely no event in Eventghost for any of the enumerated keys. I also tried logging the device in Linux when connecting the remote to my Linux box.
    All keys, but these render keyboard events.

    Am I missing a driver or something else?

    PS. I have two remotes and three dongles, same problem with any combination so I've out ruled the possibility of a hardware error, i think...

    PPS. Using WinXP Pro for my Mediaportal machine, have applied the general HID remote and installed Eventghost...
     

    posterberg

    Portal Member
    November 24, 2005
    21
    0
    Malmö
    Home Country
    Sweden Sweden
    There is none at the moment.

    The keys that work on my remote seem to work without Eventghost. The keys that don't work don't generate any event in Eventghost's log window so I can't setup any events in there. And that is more or less why it is empty at the moment.

    I know how to do it, I tried to set up events for some of the other keys on the remote with success but there was no need to have them because they worked anyway so I deleted them again.

    Is it an incorrect assumption that the Volume keys should generate some kind of keyboard event?
     

    level20peon

    MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    102
    44
    Aachen
    Home Country
    Germany Germany
    Sorry, if you don't post it, I cannot help you because I am not able to see what you have configured in some kind of magical way.


    -level20peon
     

    level20peon

    MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    102
    44
    Aachen
    Home Country
    Germany Germany
    I think the problem is that you have added the SAME HID device five times instead of adding the different HID entries available from the remote. (ok, maybe two different ones, but four of the five entries are identical).


    -level20peon
     

    posterberg

    Portal Member
    November 24, 2005
    21
    0
    Malmö
    Home Country
    Sweden Sweden
    Interesting, this didn't solve it but it lead me to read some more in this thread...

    You have in your guide said that only the last and the first HID the devices are needed to be added, out of seven... I do only get five in my list...

    I tried to remove all and re-add them, I then checked the xml-file and found out that the four first have the same identifier, only the last is different. Just as you said.
    I did of course pick all in the list and not the same four times... Puzzling!

    Do you have any clue to why this happened?

    PS. I still don't get events from the Volume keys or MyTV, My... etc.
     

    level20peon

    MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    102
    44
    Aachen
    Home Country
    Germany Germany
    The remote registers itself as multiple hardware devices (multiple keyboards, a mouse, a numeric input field (?)). Seems like yours lack the keyboard component which included the Volume Keys etc (special keys). Maybe there is something wrong with your windows installation, maybe the remote (dongle) doesn't work correctly.
    Easiest way to figure is to test it on another PC.


    -level20peon
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 TVGuide Users DE
    Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it is set up for use with MediaPortal..? I havebeen using Zap2XML / GraceNote but that just died (for me alone seemingly) and I am out of listings. :( Would appreciate any help - Thanks.
    Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it...
    Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it...
    Replies
    0
    Views
    756
    4.5 is really old. I'm not sure 4.5.5 even is a version that actually existed. You should be able to install .NET Framework 4.8.0 on Windows 7 SP1
    4.5 is really old. I'm not sure 4.5.5 even is a version that actually existed. You should be able to install .NET Framework 4.8.0...
    My TV PC is more a cast-off on older hardware (a 'Quiet PC' i5 4690, 16GB ram, 2xSSD 1xHDD, system graphics), mainly as a cheap way...
    Replies
    5
    Views
    2K
    Are the media/video folders on the Mint host?
    Are the media/video folders on the Mint host?
    I've used Mediaportal for years on a Windows Host with restricted online-access. Lately I reinstalled...
    Replies
    1
    Views
    1K
    I have an Antec Fusion Remote case with LCD display. Sorry I don't know the driver version, I have to check. But I installed the latest one for Windows 8.1.
    I have an Antec Fusion Remote case with LCD display. Sorry I don't know the driver version, I have to check. But I installed the...
    Good evening, HELP! I have an old installation because I have a family member who relies on the MiniDisplay plug in. It is...
    Replies
    6
    Views
    2K
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select "Internal DirectShow player" as music output, but then you lose gapless playback. If you you don't have multichannel music you can choose WASAPI as the output and set the number of speakers to stereo. I have...
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select...
    Not sure if this a a bug/config/settings problem. I am running a media portal 2.5 server with 2.41 client but it seems I get the...
    Replies
    1
    Views
    652
    Top Bottom