Page 1 of 2

Possible to allow guide button to act as a button?

Posted: Sun May 06, 2012 8:15 pm
by CrazySteve88

I noticed with Morii's xbox drivers its possible to set the guide button as whatever button you like and use it with direct input games. Would it be possible to do this with xbcd? I know right now its used to switch layouts(or ... whatever it does, I never used it) surely it would be possible to change this?


Possible to allow guide button to act as a button?

Posted: Thu May 10, 2012 6:36 pm
by Squall Leonhart

possible, sure.

likely. not really.

 

theres currently no HID developer available to further the driver itself


Possible to allow guide button to act as a button?

Posted: Thu Jun 14, 2012 1:02 am
by parallaxtz

So, I'd be willing to do some development on the driver. It'd be my frist driver (HID or otherwise). Certainly not my first programming project, as that's what I do for work.

 

I actually want to use the driver's both at work and home, but there's just a couple things that don't always work reliably. At the moment, I have two different custom drivers that work pretty alright separately, but they cause each other to stop working when used together.

 

The first driver is XBCD. The second is a chatpad driver.

 

My only problem at the moment is the actually getting set up to build the driver correctly. The instructions (src_readme.txt) aren't very specific about getting the build environment set up. They mention using two different build environments, at least one of which is no longer available; neither of which appear to include make.

 

I am currently continueing down the path with setting up the WDK 7 to see if that gets me anywhere. If you can offer any assistance to speed my getting set up, that would be most appreciated.


Possible to allow guide button to act as a button?

Posted: Thu Jun 14, 2012 1:16 am
by Squall Leonhart

the last time i built the drivers, i used the now defunct DDK, it was simply a matter of installing the ddk then navigating (or opening a cmd prompt) a the location of the build file and then executing the command to build for each arch type.

 

Of the things that need fixing currently, the BSOD caused by full range on 360 controllers (Full range algorythm is not implemented for the 64bit path, and im not sure why it causes bsods on the 360 controllers) and the case of the setup utility not reflecting the correct raw values on the XBOX tab,

 

fixing the Setup tool for 360 controls may require a background in delphi, of course, i've long sought after a C+ developer to port it over to MFC or ATL so that it can be built as an actual application instead of a DLL.


Possible to allow guide button to act as a button?

Posted: Thu Jun 14, 2012 1:36 am
by parallaxtz

Depending on what sort of config file/whatever it writes out, it probably would be pretty straight forward to write something in Python/QT. This is what we do where I work for most GUI tools, since it's generally a lot faster to do that instead of C++/MFC/ATL.

 

WDK7 is installing. We'll see if that works. It claims it can handle drivers for XP, Vista, and 7.

 

Oh also, of course, the Python/QT can be packaged as an EXE pretty easily, rather than running a DLL or a PY. I haven't done much ATL/MFC.


Possible to allow guide button to act as a button?

Posted: Thu Jun 14, 2012 1:42 am
by Squall Leonhart

can python refer to a manifest for auto elevation?


Possible to allow guide button to act as a button?

Posted: Thu Jun 14, 2012 2:02 am
by parallaxtz

A quick search shows that four options are available:

 

  • wrapper w/ manifest

  • ctypes wrapper for CreateElevatedProcess API

  • python ShellExecuteEx

  • elevate powertool (i have used this one before, but to elevate batch scripts)

 

I am guessing that ShellExecuteEx is the most straightforward to maintain, as it would be self contained within the python program.


Possible to allow guide button to act as a button?

Posted: Thu Jun 14, 2012 2:53 am
by legend80

I know right now its used to switch layouts(or ... whatever it does, I never used it) surely it would be possible to change this?

 

Whatever happens don't kill the existing functionality. I swap profiles on a lot on several controllers and need visual feedback as to what I'm set to. Allowing it to do more is fine, just so long as users can still have this functionality.


Possible to allow guide button to act as a button?

Posted: Fri Jul 06, 2012 3:30 am
by Squall Leonhart

ok, the setup utility is fixed

 

The XBCD driver itself does need rewriting because the current code uses a poor hackish attempt at vectors instead of float points (because the Win2003 64bit ddk at the time didn't support Float point to SSE conversion, the new versions so)

 

The Fullrange bsod, which im not certain why it occurs (because there is not even code that enables in in the 64bit path) is probably related in some way


Possible to allow guide button to act as a button?

Posted: Sun Jul 08, 2012 10:35 pm
by tysonrss

I've always wanted to use the guide button, I wonder why it isn't workable anyway.