Gamestudio Links
Zorro Links
Newest Posts
Capital slider is not saving in Z12
by frutza. 09/17/26 13:36
Avoiding pop-up training parameter results
by Martin_HH. 09/16/26 21:31
What are you working on?
by rayp. 09/16/26 20:20
Future of ZorroHFT
by TipmyPip. 09/16/26 09:28
Fun Arcade Car Physics (nfs style)
by rayp. 09/16/26 05:23
How to Choose a Free Cataract Surgery Centre in Delhi?
by lokkalyansamiti. 09/15/26 08:27
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,592 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lokkalyansamiti, rahulbuilds, speedx, liop, Bauer097
19235 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Xbox 360 Controller Right Trigger? #346669
11/08/10 17:32
11/08/10 17:32
Joined: Aug 2002
Posts: 681
Massachusetts, USA
Ichiro Offline OP
User
Ichiro  Offline OP
User

Joined: Aug 2002
Posts: 681
Massachusetts, USA
Hey guys,

I'm looking for a possible variable that reflects the state of the right trigger on an Xbox 360 controller. It doesn't seem to be any of those listed in the manual, but indiGLOW had that working in this thread.

Any help appreciated!

- I


Dejobaan Games - Bringing you quality video games for over 75 years.
Re: Xbox 360 Controller Right Trigger? [Re: Ichiro] #346672
11/08/10 17:39
11/08/10 17:39
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
My game uses joy_raw.z -- negative values are the left-trigger, and positive values are the right trigger. It means I can't detect if both are pressed at the same time (they cancel out), but my control panel can't detect if they're both pressed at the same time either, so I reckon it's a hardware/driver limitation.

Jibb

EDIT: It may be the other way around with positive/negative -- my code seems to indicate as such.

Last edited by JulzMighty; 11/08/10 17:41.

Formerly known as JulzMighty.
I made KarBOOM!
Re: Xbox 360 Controller Right Trigger? [Re: JibbSmart] #346673
11/08/10 17:41
11/08/10 17:41
Joined: Aug 2002
Posts: 681
Massachusetts, USA
Ichiro Offline OP
User
Ichiro  Offline OP
User

Joined: Aug 2002
Posts: 681
Massachusetts, USA
AHA! Thanks muchly. laugh


Dejobaan Games - Bringing you quality video games for over 75 years.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1