Post Reply 
 
Thread Rating:
  • 5 Votes - 2.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible to allow guide button to act as a button?
Author Message
CrazySteve88 Offline
Junior Member
**

Posts: 1
Joined: Nov 2009
Reputation: 0
Post: #1
Possible to allow guide button to act as a button?
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?
05-07-2012 10:15 AM
Find all posts by this user Quote this message in a reply
Squall Leonhart Offline
The Admin with the Gunblade
*******

Posts: 1,491
Joined: Mar 2008
Reputation: 16
Post: #2
RE: Possible to allow guide button to act as a button?
possible, sure.
likely. not really.

theres currently no HID developer available to further the driver itself

05-11-2012 08:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
parallaxtz Offline
Junior Member
**

Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #3
RE: Possible to allow guide button to act as a button?
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.
06-14-2012 03:02 PM
Find all posts by this user Quote this message in a reply
Squall Leonhart Offline
The Admin with the Gunblade
*******

Posts: 1,491
Joined: Mar 2008
Reputation: 16
Post: #4
RE: Possible to allow guide button to act as a button?
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.

06-14-2012 03:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
parallaxtz Offline
Junior Member
**

Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #5
RE: Possible to allow guide button to act as a button?
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.
(This post was last modified: 06-14-2012 03:38 PM by parallaxtz.)
06-14-2012 03:36 PM
Find all posts by this user Quote this message in a reply
Squall Leonhart Offline
The Admin with the Gunblade
*******

Posts: 1,491
Joined: Mar 2008
Reputation: 16
Post: #6
RE: Possible to allow guide button to act as a button?
can python refer to a manifest for auto elevation?

06-14-2012 03:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
parallaxtz Offline
Junior Member
**

Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #7
RE: Possible to allow guide button to act as a button?
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.
(This post was last modified: 06-14-2012 04:03 PM by parallaxtz.)
06-14-2012 04:02 PM
Find all posts by this user Quote this message in a reply
legend80 Offline
Junior Member
**

Posts: 4
Joined: Mar 2011
Reputation: 0
Post: #8
RE: Possible to allow guide button to act as a button?
(05-07-2012 10:15 AM)CrazySteve88 Wrote:  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.
06-14-2012 04:53 PM
Find all posts by this user Quote this message in a reply
Squall Leonhart Offline
The Admin with the Gunblade
*******

Posts: 1,491
Joined: Mar 2008
Reputation: 16
Post: #9
RE: Possible to allow guide button to act as a button?
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

07-06-2012 05:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tysonrss Offline
Junior Member
**

Posts: 43
Joined: Jun 2012
Reputation: 0
Post: #10
RE: Possible to allow guide button to act as a button?
I've always wanted to use the guide button, I wonder why it isn't workable anyway.
07-09-2012 12:35 PM
Find all posts by this user Quote this message in a reply
SplinterSeed Offline
Junior Member
**

Posts: 6
Joined: Aug 2012
Reputation: 0
Post: #11
RE: Possible to allow guide button to act as a button?
There is actually another alternative driver on the the net where it works. It's just not as supported as XBCD (thanks you for your great work)

If you want to see it, there it http://www.jonnys-place.com/index.php?topic=10495.0

If I may not upload links, then just delete my post Smile
08-10-2012 12:59 AM
Find all posts by this user Quote this message in a reply
Squall Leonhart Offline
The Admin with the Gunblade
*******

Posts: 1,491
Joined: Mar 2008
Reputation: 16
Post: #12
RE: Possible to allow guide button to act as a button?
thats a mirror of the mori drivers

08-10-2012 03:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
SplinterSeed Offline
Junior Member
**

Posts: 6
Joined: Aug 2012
Reputation: 0
Post: #13
RE: Possible to allow guide button to act as a button?
I did not know the name, but I found it while i was looking for a program that could suppress Xinput but leaving the PC believe there was still a Xinput controller in. It could not do that..

But you could do funny things with your Guide-buttonSmile
08-15-2012 07:18 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: