Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 502 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
PS2 right analog stick issue... #227199
09/13/08 06:04
09/13/08 06:04
Joined: Jul 2007
Posts: 26
J
jemballs Offline OP
Newbie
jemballs  Offline OP
Newbie
J

Joined: Jul 2007
Posts: 26
hi guys, in need of a bit of assistance.

I'm using a PS2 controller and im having trouble getting the RIGHT analog stick's y value to work correctly.

Here's my panel code to display its value:

Code:
PANEL joytest_pan
{
  pos_x = 4; pos_y = 4;
  digits(0,80,4,"Arial#24bi",1,joy_rot.y);
  flags =  VISIBLE;
}


I use joy_raw.x and joy_raw.y for the left stick and its working fine. Im also using joy_rot.x for the right sticks x value and that is also workin fine. But joy_rot.y only displays -255 and does not change when i move the right analog stick up and down... any thoughts???

Thanks in advance
Jace

Last edited by jemballs; 09/13/08 06:05.
Re: PS2 right analog stick issue... [Re: jemballs] #227561
09/15/08 02:39
09/15/08 02:39
Joined: Jul 2007
Posts: 26
J
jemballs Offline OP
Newbie
jemballs  Offline OP
Newbie
J

Joined: Jul 2007
Posts: 26
any1???

Re: PS2 right analog stick issue... [Re: jemballs] #227801
09/16/08 07:24
09/16/08 07:24
Joined: Jul 2007
Posts: 26
J
jemballs Offline OP
Newbie
jemballs  Offline OP
Newbie
J

Joined: Jul 2007
Posts: 26
last ditch *bump*

Re: PS2 right analog stick issue... [Re: jemballs] #439573
04/04/14 23:18
04/04/14 23:18
Joined: Jun 2010
Posts: 212
tagimbul Offline
Member
tagimbul  Offline
Member

Joined: Jun 2010
Posts: 212
right analog stick is
joy_raw.z
joy_raw.z

left is
joy_force.x and y

or u can use for left

joy_raw.x
joy_raw.y

big thx @Superku


meine website mit 3dgs sachen =) //noch nicht ganz umgebaut ^^"
http://flashbreaker.com/home.html
und mein YT channel mit diversen game entwicklungs videos, vor allem shader zeugs
https://www.youtube.com/user/tagimbul/videos
Re: PS2 right analog stick issue... [Re: tagimbul] #439855
04/10/14 22:25
04/10/14 22:25
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
http://www.conitec.net/beta/ajoy_raw.htm

All you should need to know laugh


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com

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

Gamestudio download | chip programmers | 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