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.

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 »

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 »

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 »

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 »

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