Cannot get GetPadBuf() to work

Post a topic about yourself to let others know your skills, hobbies, etc.
Post Reply
WolfCorp
Interested PSXDEV User
Interested PSXDEV User
Posts: 5
Joined: Oct 26, 2018
I am a: Overmars Disciple

Cannot get GetPadBuf() to work

Post by WolfCorp » November 5th, 2018, 6:30 am

Hi everyone!
I'm trying to get the GetPadBuf() function working.
Everything seems just fine but when I type "psymake" in the cmd windows it says to me that the symbol "GetPadBuf" is not defined. Well, I have done #include <libpad.h> but I'm wrong maybe.
I looked in the Library Reference but it doesn't mention anything special.
I'm using the Windows XP OS and No$PSX as the testing emulator.
Thank you all in advantage for dealing with such a noob of me! :praise

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » November 5th, 2018, 5:55 pm

There's no such thing as "GetPadBuf()" in the Psy-Q SDK.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

danhans42
BANNED
BANNED
Posts: 329
Joined: Nov 28, 2012

Post by danhans42 » November 5th, 2018, 7:35 pm

GetPadBuf() is a function in the Yaroze SDK.

could be your example is targetting the wrong SDK?

WolfCorp
Interested PSXDEV User
Interested PSXDEV User
Posts: 5
Joined: Oct 26, 2018
I am a: Overmars Disciple

Post by WolfCorp » November 6th, 2018, 4:50 am

Sorry, it was stated in the Yaroze Documentation (Library Reference) and I'm wrong about the whole set-up.
Thank you all for the help.
As said, I'm quite a newbie but I hope I'll get the hang of it! :)

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests