Gyration MCE Remote Supported (2 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
    43
    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
    43
    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
    43
    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
    43
    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

    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use just to control volume and standby, will no longer put my devices (TV & AVR) to sleep when the HTPC is put in standby. Also when I wake up the HTPC MP closes or crashes (not sure which) as per the example in...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Replies
    0
    Views
    401
    If you remember, I wrote about it when tests because of x86/x64 problems
    If you remember, I wrote about it when tests because of x86/x64 problems
    Hia all, So, decided to setup a new client instance and getting fed-up with the tonne of bloatware and cr*p that comes with...
    Replies
    9
    Views
    870
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    506
    Does anyone else have problem with long (several hours) pauses of TV broadcasts? If I pause and forget, I can still resume TV the next day, but if I try to change channel or stop, MP freezes. Only way to fix is to restart both MP and TV Service. Sometimes I need to restart PC It seems that TVServer cannot proprtly handle large...
    Does anyone else have problem with long (several hours) pauses of TV broadcasts? If I pause and forget, I can still resume TV the...
    Does anyone else have problem with long (several hours) pauses of TV broadcasts? If I pause and forget, I can still resume TV the...
    Replies
    0
    Views
    386
    MP1 MP2 1.31.0 Cannot view Changelog anymore DE
    Hi all, I don't frequently update my MediaPortal and before seeing if it's really useful I used to browse the Changelog to determine if this update is necessary for my system or not. Today I wanted to check the Changelog for version 1.34 (1.31 installed on my system) and I was asked for a “Jira” login. I tried to use the same one as...
    Hi all, I don't frequently update my MediaPortal and before seeing if it's really useful I used to browse the Changelog to...
    Hi all, I don't frequently update my MediaPortal and before seeing if it's really useful I used to browse the Changelog to...
    Replies
    0
    Views
    422
    Top Bottom