Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Game-Controller Achsen #227304
09/13/08 18:30
09/13/08 18:30
Joined: Mar 2002
Posts: 154
Zschornewitz, Sachsen-Anhalt, ...
I
IngoS. Offline OP
Member
IngoS.  Offline OP
Member
I

Joined: Mar 2002
Posts: 154
Zschornewitz, Sachsen-Anhalt, ...
Hallo,
ich möchte in meinem Optionsmenü dem User selbst die Achsen des Controllers definieren lassen. Dazu frage ich im Setup die folgenden Vectoren ab:

joy_raw, joy_rot, joy2_raw, joy2_rot

Nun stelle ich bei meinem Controller (2 Hebel) fest das joy_rot.y und auch joy_rot.z ständig den Wert -255 haben, also nicht auf 0 sind. Somit kann ich diese Achsen nicht abfragen, um zu erkennen ob sie aktiv sind oder nicht.

Was mache ich falsch?

Danke im vorraus - Ingo.

Re: Game-Controller Achsen [Re: IngoS.] #227428
09/14/08 13:01
09/14/08 13:01
Joined: Sep 2008
Posts: 8
P
Proton_games Offline
Newbie
Proton_games  Offline
Newbie
P

Joined: Sep 2008
Posts: 8
Hey sprech mal lieber englisch dann kriegste eher Hilfe !
_____________________________________________________


Hello,
I want my menu option the user to define the axes of the controller. For this I ask the vectors setup from the following:

joy_raw, joy_rot, joy2_raw, joy2_rot


Well, I am with my controller (2 Lever) and the joy_rot.y also constantly joy_rot.z the value -255, not to 0. Thus, I can not retrieve these axes, to detect whether they are active or not.

What am I doing wrong?

Thank you in advance - Ingo

Sei mir dankbar wink XD


I use Gamestudio A7 Pro with Maya and 3DS Max smile
Re: Game-Controller Achsen [Re: Proton_games] #227435
09/14/08 13:30
09/14/08 13:30

F
Fear411
Unregistered
Fear411
Unregistered
F



@Proton_games:

Just let google translate, does not mean its correct english. wink The english above it totally wrong.

I hope I translated everything right:

Hello,
In my optionsmenu I want to let the user define the axes of the gamecontroller.
For this I get info in the Setup about the following vectors

joy_raw, joy_rot, joy2_raw, joy2_rot

Now I notice that with my controller(2 Levers) joy_rot.y and also joy_rot.z always have the value -255, and not 0. So i cant detect, if the axes are active or not

What I am doing wrong?

Thanks in advance - Ingo

Last edited by Fear411; 09/14/08 13:31.
Re: Game-Controller Achsen [Re: ] #227584
09/15/08 08:28
09/15/08 08:28
Joined: Mar 2002
Posts: 154
Zschornewitz, Sachsen-Anhalt, ...
I
IngoS. Offline OP
Member
IngoS.  Offline OP
Member
I

Joined: Mar 2002
Posts: 154
Zschornewitz, Sachsen-Anhalt, ...
Hello Proton_Games and Fear411
thank for your spontaneous help.
Yes, my English is very bad.
I question on all axes when opening the options now.
When opening the menu these aren't 0 the one cannot be defined.
Perhaps somebody still has a better solution.

Hallo Proton_Games und Fear411,
danke für Eure spontane Hilfe.
Naja, mein Englisch ist sehr schlecht.
Ich frage jetzt beim Öffnen der Optionen alle Achsen ab.
Diejenigen die beim Öffnen des Menüs nicht 0 sind können nicht definiert werden.
Vielleicht hat noch jemand eine bessere Lösung.

- Ingo


Moderated by  HeelX, Spirit 

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