Comme au dessus, mais avec SOFT devant à la place de HARD!
Modérateurs : MacGamerFR , Cat121 , Fredo , Tesla
CrystalKube
Campeur
Messages : 1136 Enregistré le : 20 déc. 2008, 19:46
Localisation : Lyon
Message
par CrystalKube » 03 janv. 2010, 17:17
Salut, j'ai fait un petit script Glovepie pour piloter un jeu de voitures radiocommandées avec une Wiimote. J'ai tout bien configuré, mais quand je vais dans le panneau de config je vois mon "Virtual Controller" que PPJoy fait pour aller en parrallèle avec Glovepie, sauf que ca marche pas
Aucun bouton ne marche
Key.A = Wiimote.A
Key.Z = Wiimote.B
Key.E = Wiimote.Minus
Key.R = Wiimote.Plus
Key.T = Wiimote.Home
Key.Y = wiimote.One
Key.U = wiimote.Two
Key.Up = Wiimote.Up
Key.Down = Wiimote.Down
Key.Left = Wiimote.Left
Key.Right = Wiimote.Right
If Wiimote.Up=True
Wiimote.Led1=True
'wait 10ms
Wiimote.Led1=False
'endif
If Wiimote.Down=True
Wiimote.Led2=True
'wait 10ms
Wiimote.Led2=False
'endif
If Wiimote.Right=True
Wiimote.Led3=True
'wait 10ms
Wiimote.Led3=False
'endif
If Wiimote.Left=True
Wiimote.Led4=True
'wait 10ms
Wiimote.Led4=False
'endif
If Wiimote.Home=True
Wiimote.Rumble=True
'wait 100ms
Wiimote.Rumble=False
'endif
Si vous pouvez m'aider... ca me serait d'une grande utilité
Trebor
CMB Forever
Messages : 4998 Enregistré le : 16 déc. 2007, 18:31
Localisation : Clermont Ferrand
Contact :
Message
par Trebor » 04 janv. 2010, 00:17
si tu pouvais dire comment tu as fais pour regler le problème ce serait bien pour d'autre personne.
CrystalKube
Campeur
Messages : 1136 Enregistré le : 20 déc. 2008, 19:46
Localisation : Lyon
Message
par CrystalKube » 04 janv. 2010, 13:07
Je vais faire un tuto cet aprem, pas cours
J'expliquerai tout ca