Page 1 of 1

PadTest

Posted: March 14th, 2014, 4:44 pm
by Shendo

PadTest ver. 1.1

Username: Shendo
Project Title: PadTest
Time to Complete: --
SDK: PSXSDK (Tails92)
Genre: Utility
Latest Release: Version 1.1
In Development: No
Initial Release Date: 14-MARCH-2014
Last Date Updated: 05-DECEMBER-2022
Controller: Digital, Analog, Mouse
Players: 2
Memory Card: No
Languages: Eng
Region: Auto
Burn and Play: Yes
Executable Included: Yes
Source Included: Yes

Image

Included in the release is a UPX compressed executable.
It is identical in functionality but is smaller (37 Kb) because it is compressed.
It can be used with FreePSXBoot and ran directly on boot as it fits on a MemoryCard.

Re: PadTest

Posted: March 15th, 2014, 6:39 am
by Greg
COOl !!!

Re: PadTest

Posted: March 15th, 2014, 7:16 am
by bizarro2011
function pad
-------------
// PAD1
#define PAD1up 0x1000
#define PAD1down 0x4000
#define PAD1left 0x8000
#define PAD1right 0x2000

#define PAD1T 0x10 // TRINANGLE
#define PAD1X 0x40 // X
#define PAD1C 0x80 // CIRCLE
#define PAD1S 0x20 // SQUARE

#define PAD1L1 0x1
#define PAD1L2 0x4
#define PAD1R1 0x2
#define PAD1R2 0x8

#define PAD1Select 0x100
#define PAD1Start 0x800

// PAD2
#define PAD2up 0x10000000
#define PAD2down 0x40000000
#define PAD2left 0x20000000
#define PAD2right 0x80000000

#define PAD2T 0x100000
#define PAD2X 0x400000
#define PAD2C 0x200000
#define PAD2S 0x800000

#define PAD2L1 0x10000
#define PAD2L2 0x40000
#define PAD2R1 0x20000
#define PAD2R2 0x80000

#define PAD2Select 0x1000000
#define PAD2Start 0x8000000

u_long Pad=0;

...
void ReadPad(){
kx1=0;
ky1=0;
Pad=PadRead(0);
//direcionais
if(Pad&PAD1up){ky1=-1;} // up
if(Pad&PAD1down){ky1=1;} // down
if(Pad&PAD1left) {kx1=-1;} // left
if(Pad&PAD1right) {kx1=1;} // right

if(Pad&PAD1T) ... // trinagle
if(Pad&PAD1X) ... // x
if(Pad&PAD1C) ... // circle
if(Pad&PAD1S) ... // square

if(Pad&PAD1L1) ... // R1
if(Pad&PAD1L2) ... // R2
if(Pad&PAD1R1) ... // L1
if(Pad&PAD1R2) ... // L2

if(Pad&PAD1Select) ... // START
if(Pad&PAD1Start) ... // SELECT

}
available in the SDK bizarro

Re: PadTest

Posted: September 12th, 2016, 8:35 pm
by provato
Hi there and thank you so much for your hard work and great apps you've made so far.

I'm sending you this message to ask a favour about Padtest v1.0.
I use the app from a burned CDrom in my PS1 and my PS2 (yes, it also works on a hard-modded PS2!!!). However, I want to use this app from within uLaunchElf (and not having to put the disc in the unit every time I want to test a controller...)

So, could you please compile padtest.exe into padtest.elf???
Because I have no programming skills at all...

EDIT: Big Thanks goes to Shendo, he answered me in pm

Re: PadTest

Posted: September 13th, 2016, 4:59 am
by likeabaus
The program would have to be rewritten from the ground up with a ps2 compatible SDK as ulaunchelf runs in ps2 mode and cannot access or run anything anything ps1 related. When the ps2 is booted in either mode (using a game or w/e there's no switching modes without rebooting the console....

Re: PadTest

Posted: January 8th, 2022, 6:42 am
by aeromaxx
Is there a reason why some SCPH-1200 controllers show as "not supported" in Shendo's PS1 PadTest? The PCB in the controller seems to vary quite a bit, I have 2 controllers that are detected and work fine, and 2 controllers that are detected as analog controllers (the analog light is turned on automatically) and it shows them as being not supported.

Re: PadTest

Posted: January 9th, 2022, 5:45 am
by leafy
Who knows, I guess the code can't detect those, the same thing happened to me on some. For those I use Ape Escape and play the underwater parts to test L3 and R3 specifically. Is there a source for new L3/R3 analog stick / button parts? I need to repair or replace the R3 on one. EDIT: I need a SCPH-110 (PSone) controller R3 switch which is different than the SCPH-10010 (PS2) R3 switch. The SCPH-110 controller R3 switch seems integrated into the R_JOY 3D stick, and the pin layout is different. The SCPH-10010 has a visibly separate switch for R3.

Re: PadTest

Posted: December 6th, 2022, 10:06 am
by Shendo
I updated the app and added Mouse support. I also updated pad routines to resemble
the way BIOS does it which was needed to get mouse working properly.

Doing so may have fixed your problem too so try this release to see if the controller works properly now.

Re: PadTest

Posted: December 6th, 2022, 11:50 am
by Xavi92
Great work, Shendo. I have been long missing mouse support for PSXSDK, and I would like to merge it into my fork. Is there source code available under a free software license?

Re: PadTest

Posted: December 6th, 2022, 12:20 pm
by Shendo
Yup, https://github.com/ShendoXT/padtest. Feel free to use whatever part of code you desire.

Re: PadTest

Posted: March 18th, 2024, 6:55 am
by ksdom
Is there any chance of getting bin cue for this please? I'd love to try it out but can only find the older 1.0 version in bin cue format. Thanks in advance for any help anyone can provide.

Nevermind. I'm an idiot that can't github (bin cue is in the zip from here not github).
that aside Thanks so much for this awesome homebrew!