Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (firecrest, AndrewAMD, Quad), 389 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 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