Help modding code?

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
carz181
Posts: 13
Joined: Tue Sep 01, 2009 8:52 pm

Help modding code?

Post by carz181 » Mon Sep 14, 2009 9:04 pm

Hi, i have an ehome ir reciver. I need to mod the code to take commands from a universal remote. Can anyone help me?

stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Help modding code?

Post by stottle » Mon Sep 14, 2009 10:27 pm

If you are on Vista/Win7, take a look here.

That will probably be much easier than modding the code.

Brett

carz181
Posts: 13
Joined: Tue Sep 01, 2009 8:52 pm

Re: Help modding code?

Post by carz181 » Mon Sep 14, 2009 11:53 pm

srry i didnt add this, im running xp sp3

M7DNYTE
Posts: 6
Joined: Mon Jan 18, 2010 7:35 am

Re: Help modding code?

Post by M7DNYTE » Wed Jan 20, 2010 12:21 am

Is that the Microsoft controller?

I actually did something similar for my remote reciever (I made a hacked xbox ir device into a usb device and used the redcloud driver). It seems as though there are some similarities with the plugin that I use for my remote and the Microsoft Controller plugin.

In the microsoft plugin, there is a dictionary variable called 'KEY_MAP' You will have to add the codes manually to this variable. I am working on some interesting ideas that you might be able to take from, and if you want to manually add the button values by hand, here's how you can do it in a python script. Take a look at my forum topic here:

http://www.eventghost.org/forum/viewtop ... 03&start=0

Post Reply