Fórum acessar joystick #177162
24/08/2003
0
Joni
Curtir tópico
+ 0Posts
24/08/2003
Cebikyn
http://www.programmersheaven.com/zone2/cat61/16312.htm
http://www.torry.net/otherhardware.htm
http://www.cpcug.org/user/clemenzi/technical/Languages/Joysticks.htm
http://www.delphivini.hpg.ig.com.br/pag2.htm
http://www.planetdelphi.hpg.ig.com.br/index8.htm
E acho que o DelphiX tem um componente para isso também...
http://www.yks.ne.jp/~hori/index-e.html (site oficial)
http://turbo.gamedev.net/undelphix.asp (site não oficial)
Gostei + 0
24/08/2003
Joni
Gostei + 0
24/08/2003
Robotizar
Gostei + 0
26/08/2003
Cebikyn
Se é um código simples que vc quer, ele está aí:
uses MMSYSTEM; var MyJoy: TJoyInfo; ErrorResult: MMRESULT; begin ErrorResult := joyGetPos(joystickid1, @MyJoy); Coordenada_Y := MyJoy.wypos; Coordenada_X := MyJoy.wxpos; end;
E como disse o Robotizar, o DirectX tb faz isso, mas nunca vi fazer chover, o meu deve estar com bug... :D
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)