PadTest
-
Shendo Verified
- C Programming Expert
- Posts: 250
- Joined: Mar 21, 2012
- I am a: Programmer
- Motto: Never settle
- PlayStation Model: SCPH-7502
- Discord: ShendoXT
- Location: Croatia, EU
PadTest
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
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.
You do not have the required permissions to view the files attached to this post.
Last edited by Shendo on December 6th, 2022, 10:08 am, edited 2 times in total.
Dev console: SCPH-7502, FreePSXBoot, CH340 serial cable.
-
Greg Verified
- Serious PSXDEV User
- Posts: 101
- Joined: Sep 09, 2013
- PlayStation Model: SCPH-7501
- Location: Port-au-Prince, HAITI
COOl !!!
1 x SCPH-7501, 2 x SCPH-7001, 2 x SCPH-5501
1 x Pro Action Replay with "Dual Rom Mod", ROM 1: Caetla, ROM 2: UNIROM
1 x Xplorer V2 with Caetla
1 x GameShark V2.1
1 x GameShark Pro V3.0
1 x CommLinkUSB
1 x XLinkUSB
1 x Pro Action Replay with "Dual Rom Mod", ROM 1: Caetla, ROM 2: UNIROM
1 x Xplorer V2 with Caetla
1 x GameShark V2.1
1 x GameShark Pro V3.0
1 x CommLinkUSB
1 x XLinkUSB
- bizarro2011
- Serious PSXDEV User
- Posts: 118
- Joined: Mar 27, 2012
- Location: Brazil
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
-------------
// 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
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
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
Last edited by provato on September 13th, 2016, 4:21 pm, edited 1 time in total.
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....
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.
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.
-
Shendo Verified
- C Programming Expert
- Posts: 250
- Joined: Mar 21, 2012
- I am a: Programmer
- Motto: Never settle
- PlayStation Model: SCPH-7502
- Discord: ShendoXT
- Location: Croatia, EU
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.
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.
Dev console: SCPH-7502, FreePSXBoot, CH340 serial cable.
-
Shendo Verified
- C Programming Expert
- Posts: 250
- Joined: Mar 21, 2012
- I am a: Programmer
- Motto: Never settle
- PlayStation Model: SCPH-7502
- Discord: ShendoXT
- Location: Croatia, EU
Yup, https://github.com/ShendoXT/padtest. Feel free to use whatever part of code you desire.
Dev console: SCPH-7502, FreePSXBoot, CH340 serial cable.
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!
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!
Who is online
Users browsing this forum: No registered users and 2 guests