Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Xbox remote controller plugin

Questions and comments specific to a particular plugin should go here.
waldo22
Posts: 8
Joined: Sun Jan 25, 2009 5:27 am

Re: Xbox remote controller plugin

Post by waldo22 »

I added the following lines:

Code: Select all

            '0064f0a': 'AUDIO',
            '006af0a': 'ENT.',
so the key-mapping section should now read:

Code: Select all

        self.xbcdrc_mapping = {
            '006d50a': 'DISPLAY', '0066a05': 'DISPLAY', '0066afd': 'DISPLAY',
            '006e20a': 'REVERSE', '00671f5': 'REVERSE', '006710d': 'REVERSE',
            '006ea0a': 'PLAY', '00675f5': 'PLAY', '006750d': 'PLAY', 
            '006e30a': 'FORWARD', '0067105': 'FORWARD', '00671fd': 'FORWARD', 
            '006dd0a': 'SKIP-', '0066e05': 'SKIP-', '0066efd': 'SKIP-', 
            '006e00a': 'STOP', '00670f5': 'STOP', '006700d': 'STOP', 
            '006e60a': 'PAUSE', '00673f5': 'PAUSE', '006730d': 'PAUSE', 
            '006df0a': 'SKIP+', '0066f05': 'SKIP+', '0066ffd': 'SKIP+', 
            '006e50a': 'TITLE', '0067205': 'TITLE', '00672fd': 'TITLE', 
            '006c30a': 'INFO', '0066105': 'INFO', '00661fd': 'INFO',
            '006a60a': 'UP', '00653f5': 'UP', '006530d': 'UP', 
            '006a70a': 'DOWN', '0065305': 'DOWN', '00653fd': 'DOWN', 
            '006a90a': 'LEFT', '0065405': 'LEFT', '00654fd': 'LEFT', 
            '006a80a': 'RIGHT', '00654f5': 'RIGHT', '006540d': 'RIGHT', 
            '0060b0a': 'SELECT', '0060505': 'SELECT', '00605fd': 'SELECT', 
            '006f70a': 'MENU', '0067b05': 'MENU', '0067bfd': 'MENU', 
            '006d80a': 'BACK', '0066cf5': 'BACK', '0066c0d': 'BACK', 
            '0064f0a': 'AUDIO',
            '006af0a': 'ENT.',
	    '006ce0a': '1', '00667f5': '1', '006670d': '1', 
            '006cd0a': '2', '0066605': '2', '00666fd': '2', 
            '006cc0a': '3', '00666f5': '3', '006660d': '3', 
            '006cb0a': '4', '0066505': '4', '00665fd': '4', 
            '006ca0a': '5', '00665f5': '5', '006650d': '5',
            '006c90a': '6', '0066405': '6', '00664fd': '6',
            '006c80a': '7', '00664f5': '7', '006640d': '7',
            '006c70a': '8', '0066305': '8', '00663fd': '8',
            '006c60a': '9', '00663f5': '9', '006630d': '9',
            '006cf0a': '0', '0066705': '0', '00667fd': '0'
        }
Also, I removed the line:

Code: Select all

and item[VERSION_NUMBER] == versionNumber:
where you checked for the version number, and that fixed the problem.

With those two changes, the SVN is pretty much up to date.

Now I guess we just have to see if anyone else has an RCA DVD remote that generates extra codes, like TITLE MENU, etc., or if someone has the Chinese knock-off DVD remote dongles with a different Vendor ID.

Wes
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: Xbox remote controller plugin

Post by jinxdone »

Right. I updated the plugin again with the changes I mentioned in the other post. Also some other minor changes + added a picture of the device.

You can get it from the SVN

Thanks to waldo22 for testing.
waldo22
Posts: 8
Joined: Sun Jan 25, 2009 5:27 am

Re: Xbox remote controller plugin

Post by waldo22 »

So, I grabbed another universal remote that I had laying around and programmed it to emulate an RCA DVD player (which is what the Xbox Original DVD Dongle responds to).

It recognized the following additional codes in DVD mode:

Code: Select all

006d100 < (left arrow? very common among RCA remotes, but not sure what button it's "supposed" to be)
006890a LAST
006c000 MUTE (Very common among RCA remotes)
006e70a A*B  
006f90a EXIT
0067f0a D
0068c0a REC
With many of these buttons, it's not clear what button they are supposed to map to on an RCA DVD remote.

I should be clear though that the "<" and "MUTE" buttons showed up on EVERY RCA remote I had listed, even for VCRs, so they are very likely to show up on many universal remotes.

The other buttons are of more dubious utility, however, the purpose of enumerating them here is that, if they are common enough to show up on a universal remote set as an RCA DVD player, and my Xbox dongle receives them, then they are more likely to show up on someone else's remote, and that person can then make use of them in EventGhost even if their actual xbox remote doesn't support them.

I also found MANY MANY more RCA codes when setting it up as an RCA VCR, including the "<" and "MUTE" keys mentioned above.

I did not list any of these, because I think they are less likely to show up on someone's remote when programmed to control the xbox dongle. However, they were actually received by my dongle, so they may work.

-Wes
rausch101
Posts: 7
Joined: Fri Jan 23, 2009 10:25 pm

Re: Xbox remote controller plugin

Post by rausch101 »

Is this plugin at all useful for an original xbox controller (not the DVD kit) with the XBCD drivers connected via a soldered USB cable? I plan to give it a shot, but thought I'd clarify.
stecaro
Posts: 2
Joined: Mon Jun 14, 2010 7:14 pm

Error finding an Xbox IR receiver

Post by stecaro »

Hi everybody,
I am trying to use EventGhost + XBMC and get the following error: Error finding an Xbox IR receiver
I have the following Xbox Remote Control: USB\VID_040B&PID_6521&MI_00\6&369CCEE4&0&0000
(China copy of original Xbox remote control)
Is there a compatible XBCDRC plug-in for that remote?
Thank you in advance for your answer.

Eventghost: 0.3.7.r1462
WXP SP3
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: Error finding an Xbox IR receiver

Post by jinxdone »

@stecaro

Try changing the following values near line 727 of EventGhost\plugins\XBCDRC\__init__.py

Code: Select all

        self.vendorID = 1118
        self.vendorString = 'Vendor ID 1118'
        self.productID = 644
to

Code: Select all

        self.vendorID = 1035
        self.vendorString = 'Vendor ID 1035'
        self.productID = 25889
It looks for a device with vid 1118 and pid 664 by default (that's the original microsoft one).
Post Reply