hi all
sorry for the newbie question - its my first few days on pd!
i have downloaded the joystick object and am trying to get it happening with a usb microsoft sidewinder precision pro, running under windows 98
i am not too sure about where to put the unzipped files.
i have put them in the 'extra' directory in a folder i created called 'joystick'
this is what i get when i launch the example file 'joystick.pd'
joystick object loaded (J. Sarlo) configuring joystick: found 10 axes found 0 buttons
then the application performs an illegal operation and says it will be shut down...
some reference is made on the download site of the need to do a 'makefile' after unzipping
problem is i am not sure what this is, or how i do it... can anyone help me here?
cheers
donna
You only need to worry about the makefile stuff if you need to recompile the .dll file. Since the object is loading, you probably don't. I've fixed up the object a little bit. It may not solve your problem, but it shouldn't crash PD anymore and it will give you an error message that might help in tracking down the problem. Get it at:
http://mambo.peabody.jhu.edu/~jsarlo/pd/
| | Joseph A. Sarlo | | jsarlo@mambo.peabody.jhu.edu |______________________________
On Sat, 8 Sep 2001, Donna Hewitt wrote:
hi all
sorry for the newbie question - its my first few days on pd!
i have downloaded the joystick object and am trying to get it happening with a usb microsoft sidewinder precision pro, running under windows 98
i am not too sure about where to put the unzipped files.
i have put them in the 'extra' directory in a folder i created called 'joystick'
this is what i get when i launch the example file 'joystick.pd'
joystick object loaded (J. Sarlo) configuring joystick: found 10 axes found 0 buttons
then the application performs an illegal operation and says it will be shut down...
some reference is made on the download site of the need to do a 'makefile' after unzipping
problem is i am not sure what this is, or how i do it... can anyone help me here?
cheers
donna
Hi Joe
Thanks for the prompt reply
You only need to worry about the makefile stuff if you need to recompile the .dll file. Since the object is loading, you probably don't.
OK thanks for the clarification
I've fixed up the object a little bit. It may not solve your problem, but it shouldn't crash PD anymore and it will give you an error message that might help in tracking down the problem. Get it at:
Unfortnately, this is the version i downloaded and am currently using
If it helps, here are the 'details' of the PD crash - seems to be a problem with the .dll
PD caused an invalid page fault in module JOYSTICK.DLL at 017f:00da1355. Registers: EAX=00000000 CS=017f EIP=00da1355 EFLGS=00010297 EBX=00000001 SS=0187 ESP=0063fd94 EBP=0063fda8 ECX=00000006 DS=0187 ESI=0097d540 FS=4017 EDX=0097d6e0 ES=0187 EDI=00001388 GS=0000 Bytes at CS:EIP: 8b 00 3b 84 8a 20 01 00 00 74 5c 8b 4d fc 8b 55 Stack dump: 0063fde4 1003000f 00000000 100303c2 00000006 0063fde4 1003041c 0097d6e0 0097d540 00000000 81948394 00530000 10071a70 00000000 00000000 00000000 ________________________
cheers
donna
I've fixed up the object a little bit. It may not solve your problem, but it shouldn't crash PD anymore and it will give you an error message that might help in tracking down the problem. Get it at:
Unfortnately, this is the version i downloaded and am currently using
I'm confused. Did you download it again? I just made this change after I read your post. If line 49 of joystick.cpp is not:
errCode = joyGetPosEx(JOYSTICKID1, &x->x_joyInfoEx);
Then you need to download it again.
| | Joseph A. Sarlo | | jsarlo@mambo.peabody.jhu.edu |______________________________
Unfortnately, this is the version i downloaded and am currently using
I'm confused. Did you download it again? I just made this change after I read your post. If line 49 of joystick.cpp is not:
errCode = joyGetPosEx(JOYSTICKID1, &x->x_joyInfoEx);
Then you need to download it again.
Joe
Hi Joe
Ahh i didn't realised you had literally just changed the object!
OK i will download it again and report back
many thanks
Donna
Hi Joseph,
It has stopped crashing pd but this is what I get now.
joystick object loaded (J. Sarlo) Joystick error: 165 joystick.pd 10 0 0 0 (joystick->gatom) connection failed joystick.pd 10 1 1 0 (joystick->gatom) connection failed joystick.pd 10 2 2 0 (joystick->gatom) connection failed joystick.pd 10 3 3 0 (joystick->gatom) connection failed
Cheers
Donna
On Mon, 10 Sep 2001, Donna Hewitt wrote:
Hi Joseph,
It has stopped crashing pd but this is what I get now.
joystick object loaded (J. Sarlo) Joystick error: 165
Unfortunately, this isn't one of the error codes that Microsoft claims joyGetPosEx() should return, so I'm not exactly sure what it is, but I get this code when I use a USB joystick and don't have it plugged in. I'm not much of a Windows joystick expert, but it seems like the joystick you're using isn't being detected properly. Does it work with other non-DirectX software?
| | Joseph A. Sarlo | | jsarlo@mambo.peabody.jhu.edu |______________________________
Hi Joseph,
Thanks once again for your help. I definitely have the joystick plugged in, (although it is not unlike me to do something silly like forget to plug it in) I did the little test in the control panels which worked fine. Hmmm I'm stuck.
Cheers Donna H
----- Original Message ----- From: Joseph A. Sarlo jsarlo@mambo.peabody.jhu.edu To: Donna Hewitt donnahewitt@redline.net.au Cc: pd-list@iem.kug.ac.at Sent: Monday, September 10, 2001 12:26 PM Subject: Re: [PD] joystick object install
On Mon, 10 Sep 2001, Donna Hewitt wrote:
Hi Joseph,
It has stopped crashing pd but this is what I get now.
joystick object loaded (J. Sarlo) Joystick error: 165
Unfortunately, this isn't one of the error codes that Microsoft claims joyGetPosEx() should return, so I'm not exactly sure what it is, but I get this code when I use a USB joystick and don't have it plugged in. I'm not much of a Windows joystick expert, but it seems like the joystick you're using isn't being detected properly. Does it work with other non-DirectX software?
Joe
| | Joseph A. Sarlo | | jsarlo@mambo.peabody.jhu.edu |______________________________
On Mon, 10 Sep 2001, Donna Hewitt wrote:
Hi Joseph,
Thanks once again for your help. I definitely have the joystick plugged in, (although it is not unlike me to do something silly like forget to plug it in) I did the little test in the control panels which worked fine. Hmmm I'm stuck.
Hmm, maybe it's somehow not JOYSTICKID1. I've changed it so it tries every joystick device number. Download it and try again.
http://mambo.peabody.jhu.edu/~jsarlo/pd/
| | Joseph A. Sarlo | | jsarlo@mambo.peabody.jhu.edu |______________________________
Hi Joseph,
You are a legend! The joystick is working. It came up JOYSTICKID 2.
Thankyou once again.
Cheers Donna H
----- Original Message ----- From: Joseph A. Sarlo jsarlo@mambo.peabody.jhu.edu To: Donna Hewitt donnahewitt@redline.net.au Cc: pd-list@iem.kug.ac.at Sent: Tuesday, September 11, 2001 11:18 AM Subject: Re: [PD] joystick object install
On Mon, 10 Sep 2001, Donna Hewitt wrote:
Hi Joseph,
Thanks once again for your help. I definitely have the joystick plugged in, (although it is not unlike me
to
do something silly like forget to plug it in) I did the little test in
the
control panels which worked fine. Hmmm I'm stuck.
Hmm, maybe it's somehow not JOYSTICKID1. I've changed it so it tries every joystick device number. Download it and try again.
http://mambo.peabody.jhu.edu/~jsarlo/pd/
Joe
| | Joseph A. Sarlo | | jsarlo@mambo.peabody.jhu.edu |______________________________