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 Controller - button combinations!

If you have a question or need help, this is the place to be.
3000
Posts: 37
Joined: Fri Aug 07, 2015 3:49 pm

Re: Xbox Controller - button combinations!

Post by 3000 »

Indeed it will. With button combinations possible, remote controls will be pretty much obsolete for anyone who is running an HTPC. All thanks to Eventghost, the existing plugins and with your soon-to-be updated version of XInput. TV, AV-R, etc. ... all done all with a gamepad :)
sign my petition to save a 28-year-old young mother who is fighting Stage 4 cancer: https://www.change.org/p/help-cancer-pa ... on-the-nhs
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Xbox Controller - button combinations!

Post by kgschlosser »

this is what I have setup.

I used micro controllers all over the house. each one of them has a temperature sensor, humidity sensor, ir receiver, amplified ir led. a network card and if it is in the proximity of a TV that i can't get network reports from I have a USB cable that goes from the micro controller to the TV so the micro controller can look for the 5 volts coming from the TV when it is on,

I coded a plugin using the xAP protocol i wrote some firmware for the micro controllers that also supports the same protocol but also reads IR signals, it can seld IR as well.. and temp/humidity.

the real key to this whole thing is all of the remotes in my house are identical. they are all hacked one4all remotes they all spit out the same exact ir codes as well.. but if i walk from room to room with a remote the remote will automatically switch to controlling every device in that room. this goes for all of them.
how this is done is the micro controller is given a device ID as part of the xAP protocol. so each one has a unique Id so when that one receives a code i know what room it's coming from and what devices to control. my theater being as complex as it is knows what to control based on what is turned on and what the sources are set to so I never have to change the remote device. it's all done automatically. and because I have the usb connected from the TV. if i walk up and press the power button on the TV it's self. it will power everything up and vice versa. sometimes it's a pain to locate that remote.

I also have a menu system that i made up that displays on every TV in my house and it shows the states of all the devices in the house and i can control them from the menu as well.
If you like the work I have been doing then feel free to Image
3000
Posts: 37
Joined: Fri Aug 07, 2015 3:49 pm

Re: Xbox Controller - button combinations!

Post by 3000 »

wow, I'd like to see that ... sounds very complex and advanced. That's sort of the setup you see in Sci-Fi movies, don't you. Maybe not even there. :)
sign my petition to save a 28-year-old young mother who is fighting Stage 4 cancer: https://www.change.org/p/help-cancer-pa ... on-the-nhs
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Xbox Controller - button combinations!

Post by kgschlosser »

I just wanted to give you an update.

The plugin is all coded up. I am going to be cleaning any preliminary bugs i come across. I do not have one of those controllers, I never managed to make it to go and get one. You are going to have to help me out with the bug cleaning. in about 2-3 days.
If you like the work I have been doing then feel free to Image
3000
Posts: 37
Joined: Fri Aug 07, 2015 3:49 pm

Re: Xbox Controller - button combinations!

Post by 3000 »

Of course, more than happy to do it. Thank you so much for doing this!!
sign my petition to save a 28-year-old young mother who is fighting Stage 4 cancer: https://www.change.org/p/help-cancer-pa ... on-the-nhs
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Xbox Controller - button combinations!

Post by kgschlosser »

this is going to be a vary hard process to debug this as I am still learning how to attach to the Windows API from python code. it is going to be a whole heap tome of back and forth. I do not know if you have an account on GitHub. but if you do send me a PM with the e-mail address you used to make an account on it. I will invite you to a web based chat on it. So if we are on at the same time I can make changes and then send the file right over to ya. it usually only takes me a minute or 2 to make a change... but if we use the forum is will make this thread a complete mess and very confusing but will also take a lot of time with the back and forth thing through here. and sending attachments in the chat thing is also a lot easier drag and drop. and same goes for getting the file drag and drop. I won't have to keep on making new installable plugins i can simply send over the main file and you can drag and drop it into the plugins directory.

Up to you
If you like the work I have been doing then feel free to Image
Post Reply