1 registered members (tomaslolo),
1,542
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Xbox 360 Controller Support (Contribution)
[Re: DocJoe]
#69624
04/05/06 22:58
04/05/06 22:58
|
Joined: Jul 2000
Posts: 8,973 Bay Area
Doug
Senior Expert
|
Senior Expert
Joined: Jul 2000
Posts: 8,973
Bay Area
|
Quote:
A6 recognize the Xbox 360 controllers without problems, but the triggers are diffrent (in A6 the triggers are recognized like a wheel) and you can't set any vibration effects with any other interface.
I can confirm this. I use an XBox360 controller with the new template scripts, you can work with it by just reading the raw values but a plugin can make things much nicer.
Speaking of which, for full disclosure, I'm also working on a new input interface for template6. However, it will probably be released with the update *after* 6.4x, so it is still some months away (unless things change in my priority list). This interface should include mapping and XBox360 controller support.
|
|
|
Re: Xbox 360 Controller Support (Contribution)
[Re: Doug]
#69626
04/06/06 06:53
04/06/06 06:53
|
Joined: Aug 2003
Posts: 425
DocJoe
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2003
Posts: 425
|
@Doug: Can you tell me/us more about your new interface? My personal interface will support an infinite count of joysticks/gamepads/wheels with forcefeedback and so on. You can start/stop the plugin within the game and you can choose, if you wanna use the Xbox 360 controllers with DX or with the Xbox interface. You can define a msg handler that recognizes new joysticks or de-/reattached joysticks. Joystick handling is very easy like
if(Button_1(hJoystick1)== on) { Name_of_Joystick(hJoystick, strJoystickName); }
All values are between -1000 and +1000 for axis (not +/-255). You can set null and dead zones. You can load forcefeedback effects from file (Force editor to test effects and to write into a file included) and you can define forceffeedback effect by code. and so on.... If your new interface is similar fine I stop my project (70% done), I don't wanna waste my time (didn't see anything in the forecast or anywhere else).
@William: Thanks, I'll look into this this evening!
Last edited by DocJoe; 04/06/06 08:42.
Don't take the cake to the party.
|
|
|
Re: Xbox 360 Controller Support (Contribution)
[Re: DocJoe]
#69627
04/06/06 20:52
04/06/06 20:52
|
Joined: Jul 2000
Posts: 8,973 Bay Area
Doug
Senior Expert
|
Senior Expert
Joined: Jul 2000
Posts: 8,973
Bay Area
|
Quote:
@Doug: Can you tell me/us more about your new interface?
I can't say much because it really isn't much more than some notes on a yellow "Stick-It" pad right now.
The general idea is that it will filter all input (mouse, keyboard, joystick, etc.) and, using some basic user defined rules, convert them into simple output for the template6 scripts to read.
If you take a look at the template6 input scripts (plBipedInput01 and miscInput01) you'll have a good idea at what I'm aiming at.
|
|
|
Re: Xbox 360 Controller Support (Contribution)
[Re: Doug]
#69628
04/06/06 21:00
04/06/06 21:00
|
Joined: Jul 2000
Posts: 8,973 Bay Area
Doug
Senior Expert
|
Senior Expert
Joined: Jul 2000
Posts: 8,973
Bay Area
|
Quote:
If your new interface is similar fine I stop my project (70% done), I don't wanna waste my time (didn't see anything in the forecast or anywhere else).
Please don't stop. My interface will be designed around the template6 scripts so it might not be flexible enough for people not using template6.
Also, I have NO idea when I will get the time to do this. Maybe this weekend, maybe XMas (more likely closer to XMas).
|
|
|
Re: Xbox 360 Controller Support (Contribution)
[Re: William]
#69630
04/08/06 11:41
04/08/06 11:41
|
Joined: Aug 2003
Posts: 425
DocJoe
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2003
Posts: 425
|
EDIT: The pakage download includes now ( Download (5.3 MB)): The Xbox 360 controller Plugin 'XBox360Cntr.dll' The prototype file 'Xbox_dll.wdl' An A6 Xbox 360 controller sample using the new Xbox 360 controller interface The file 'xinput9_1_0.dll' A 'readme.txt' Manual in English Manual in German The application 'XBOX360Eng.exe' to install Xbox 360 Controller drivers for Windows An End-User License Agreement for Microsoft® software for use with Xbox 360 Controller for Windows (ENG_EULA.rtf - English) An Xbox 360 Controller for Windows documentation (English). @William: If you use windows before XP with service pack 1 and/or you didn't installed an Xbox 360 controller you need at least a XINPUT9_1_0.dll driver in your application or your windows system folder. Otherwise you get an error warning if you start the game application. Xbox 360 controller drivers are also available via Windows Update, or at www.windowsgaming.com. Thanks William for this important info.
Last edited by DocJoe; 04/08/06 13:13.
Don't take the cake to the party.
|
|
|
|