|
1 registered members (Quad),
3,790
guests, and 8
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
xbox360 contller and 3dgs
#141784
07/17/07 21:36
07/17/07 21:36
|
Joined: Sep 2005
Posts: 508 Texas
not_me
OP
User
|
OP
User
Joined: Sep 2005
Posts: 508
Texas
|
i have a code for using an xbox360 controller with 3dgs. how would i make it work with the A6 template scripts? code- ------------------------------------------------------------- ////////////////////////////////////////////////////////////////////////// // // // * dllfunctions for support of up to 4 'Xbox 360 controllers' * // // // // (plugin by DocJoe, Mars, 30th of 2006) // // // //////////////////////////////////////////////////////////////////////////
// use values 1, 2, 3 or 4 for vConroller_Number // sliders values between 1 - 1000 // axis values between -1000 to +1000 // vibration speeds between 0 - 1000 // render and capture guids can be used in combination with DSound
dllfunction Xbox_Avaiable(vConroller_Number); //on - off dllfunction Xbox_ProductName(vConroller_Number, strProductName); //on - off dllfunction Xbox_Button_A(vConroller_Number); //on - off dllfunction Xbox_Button_B(vConroller_Number); //on - off dllfunction Xbox_Button_X(vConroller_Number); //on - off dllfunction Xbox_Button_Y(vConroller_Number); //on - off dllfunction Xbox_Button_LB(vConroller_Number); //on - off dllfunction Xbox_Button_RB(vConroller_Number); //on - off dllfunction Xbox_Button_Back(vConroller_Number); //on - off dllfunction Xbox_Button_Start(vConroller_Number); //on - off dllfunction Xbox_Button_LT(vConroller_Number); //on - off dllfunction Xbox_Button_RT(vConroller_Number); //on - off
dllfunction Xbox_Slider_L(vConroller_Number); //0 - 1000 dllfunction Xbox_Slider_R(vConroller_Number); //0 - 1000
dllfunction Xbox_Stick_LX(vConroller_Number); //-1000 - 1000 dllfunction Xbox_Stick_LY(vConroller_Number); //-1000 - 1000 dllfunction Xbox_Stick_RX(vConroller_Number); //-1000 - 1000 dllfunction Xbox_Stick_RY(vConroller_Number); //-1000 - 1000
dllfunction Xbox_POV(vConroller_Number); //-1, 0, 45, 90, 135, 180, 225, 270, 315
dllfunction Xbox_Set_Dead_Zone_L(vConroller_Number, vDead_Value); //on - off dllfunction Xbox_Set_Dead_Zone_R(vConroller_Number, vDead_Value); //on - off dllfunction Xbox_Set_Dead_Zone_Sliders(vConroller_Number, vDead_Value); //on - off dllfunction Xbox_Get_Dead_Zone_L(vConroller_Number); //0 - 2000 dllfunction Xbox_Get_Dead_Zone_R(vConroller_Number); //0 - 2000 dllfunction Xbox_Get_Dead_Zone_Sliders(vConroller_Number); //0 - 1000
dllfunction Xbox_Set_Vibration(vConroller_Number, Speed_Low, Speed_High); //Speeds 0 - 1000
dllfunction Xbox_Get_Audio_GUIDs(vConroller_Number, strRenderString, strCaptureString); //off: no controller //on: controller avaiable // render device avaiable // capture device avaiable //2: controller avaiable // render device avaiable // no capture device avaiable //3: controller avaiable // no render device avaiable // capture device avaiable //4: controller avaiable // no render device not avaiable // no capture device avaiable
define Xbox_controller_1, 1; define Xbox_controller_2, 2; define Xbox_controller_3, 3; define Xbox_controller_4, 4; define Xbox_controller_all, 0; //set dead zone of all Xbox controller at the same time
|
|
|
Re: xbox360 contller and 3dgs
[Re: Blink]
#141786
07/17/07 21:57
07/17/07 21:57
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink

Expert
|

Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
look at all my posts in regards to this issue. after not getting any help, i figured it out on my own. and with some advice i made it work for me.
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
|