So I am having an interesting issue concerning my wireless xbox controller and glovePIE. I have programmed my media player to work with my xbox controller using glovePIE, but now the issue I am running into is as follows: When I start glovePIE and run the script, everything works great. But, I need to turn my xbox controller off as it is battery powered, and when I do, I cannot simply turn it back on and use it as glovePIE will not recognize the controller unless it is on before running the script. So, I think I have two solutions: Fix 1 - write some program to run/stop glovePIE every 1 minute (not ideal) or Fix 2 - write a program that will run the glovePIE script when the Microsoft wireless receiver acknowledges that my controller is on and stop the script when the controller is off.
Any thoughts on the plausibility of these fixes or suggestions for another?