-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My DS2 Pad Tests #25
Comments
@venice1200, Many thanks for your valuable feedback and would like to improve the design over the next weeks. I pretty much copied the mister core but let certain input switchmode function (joy, paddle, mouse) for the time being away and of course the key mapping might be different... Feel free to have a look at the readme.md https://github.com/MiSTer-devel/Atari2600_MiSTer Initially i thought that porting of that small core is simple but ended up with a rather long lasting exhausting excersise and A7800 ROM autodetect and the video stabilizer blocks finally made the core working. Game Input control was right from the beginning a nightmare... |
I am happy to help. You can use anything I post for the documentation. I used your code and added some modified files for supporting the Spare Pin Header for DS2. Nothing of the original work is changed. |
Hi @venice1200, |
Let me see what I can do for you (us). I use an old (and maybe defective) Playstation Controller extension cable. I crimped the Pins onto the cables. Beta test Ok. But I am waiting for female connector parts from Ali and I am going to create a PCB for this connector with a 10 Pin header to use 10-Pin flat cables and connectors for an easy 1:1 connection to the Pin Header of the MiSTery Nano Board. I will provide my cst later. Aloha |
.cst will use to update OSD and core that you immediately have a new input selection apart from further needed finetuning in the controller keymaps. |
.cst attached. |
Hi @venice1200 , You will find the design changes here: https://github.com/vossstef/A2600Nano/tree/ds2_4_misteryboard20k |
That works 👍
If the femal connectors arrive I will double check the PCB and order some of them. |
Btw, is is now possible to use two DS2 Controller with the MiSTery Board? No.1 using the original Pins |
Yes both interfaces can be active at the same time. There is for the Joy to DIP interface no header but you could solder adhoc somw wires. Good point and i will meantion that in the readme too. Thought that coud could add via pull an extra document with the build instructions linked from readme. |
i merged the changes and cable doc to be added via pull |
Ok! Any chance to get the left DS2 Analog Stick working for normal (non paddle) games? |
@venice1200 , yes pictures to .assets. |
DS Adapter Site I am happy to send the pull request Happy X-Mas |
Just send MR! Also a Happy X-Mas 😀 |
@venice1200 merge done and i have a small X-Mas gift for you 😀 I implemented a strict input selection for digital Joystick and Paddle. Hope that all your points are fixed now. https://github.com/vossstef/A2600Nano/tree/strict_input In the root you will find an changed XML file for OSD control that have to be copied to the sdcard. and now it's finally X-Mas ✨ |
Using which Version of the Core?
The atari2600.xml file? Many Thx |
@venice1200 You have to copy the .XML file to your sd card. i stored a changed copy in the branch. pls. recompile the tn20k project in the branch (strict input) and Flash to your tn20k. |
I copied the atari2600.xml file to the SD Card and compiled the "strict" Code using the 1.9.10 Education Version. The 1 Button PAL HERO Version works as expected. Super Breakout PAL Maybe I should try a version compiled by you. |
I use an Playstation Dualshock Controller SCPH-10010. Build log |
i only have two different clones and they behave like that the stick is at the same time active than Dpad. Will try to find info about your model over the next days. |
Oh, if Iuse my USB Pad (Logitech Rumblepad 2) I have the same issue running the 2 Button Hero Version.
Is it possible that the Analog Stick is only active in analog mode? Some interssting sites... I will test my DS2 Controller with my MiSTer PSX SNAC Adaper to see if the Sticks are doing something in digital mode as I found different Information. Test Done: I can send you one of my controllers!? |
@venice1200 i am working for some while on a DS configuration command to switch in between digital and analog mode. This work is not finished yet. I need to understand the documentation further. Both to me known controller interface blocks just read and don't support device configuration methods. The 2nd Button topic (didn't know of 2nd button support at all) i should be able to fix over the next few days. |
@venice1200 thanks ! |
...and also mixed triggers between joystick and paddle mode. Any idea why the DS2 left stick has no function since "strict branch" as it was already working in Paddle Games. Many Thanks for your really cool cores! Btw, DS2 connectors have arrived from Ali and PCBs are ordered. //Edit |
@venice1200 I checked : DS2 stick movement for analog control is working as before but you have to press once (activate) one of the dedicated paddle trigger keys X or Y . The core is presently only switching to paddle mode if one of the dedicated paddle keys is pressed. There are two Keys dedicated to digital Triggers A + B and two dedicated keys for paddle analog trigger X +Y (of course only single Trigger per paddle. The Stick is serving as 1st X direction and 2nd paddle Y direction. Therfore the two keys. Now i removed also the nasty activation press... Don't know.... Is the left stick maybe working now in digital mode after setting paddle mode and back to digital ???? As i can send DS2 configuration information need to know what command might be activating your left stick in digital mode... |
As far as I know, if the pad is not in analog mode, the sticks have no function at all. |
Think Dualshock2: Set ReplyProtocol command |
Found something similar, but Config Mode?! Config Mode - Command 42h "B" - Read Buttons AND analog inputs Same as command 42h in normal mode, but with forced analog response (ie. analog inputs and L3/R3 buttons are returned even in Digital Mode with LED=Off). |
Hi @vossstef, HERO 2 Button Super Breakout trim.CE4A92CF-BAC1-4618-94E3-6BB164750D21.MOVIf the DS2 Pad is connected at startup the analog mode is also activated. |
@venice1200 XML can stay as before in this special branch. |
No Hurry 😄 |
@venice1200 i pushed corrections for TN20k and TM138k Pro. In order to find the problems had to use my 138k Pro where two DS2 Interfaces are wired... Hope my cable arriges over the next days to upgrade my misteryshield. Pls. let me know how the updates does... Big thanks already! It's likely an interim state until i get DPad and left stick in digital mode to work at the same time but for that i will need more time. |
Touchdown. Super Breakout: 2 Button Hero: Retro Stick not tested. Side-Effect: Great Work! |
A big thanks for all the effort in testing! |
You are welcome 😄 Some Ideas! A file were you can override the default setup and choose your preferred buttons for the Triggers. And please, if possible, add some keyboard keys for: But these are things for the wishlist. |
@venice1200 |
Testing now... |
Works fine as expected, no issues found. All the best for '25 🚀 |
Happy New Year 🚀 |
|
@venice1200 did you designed the PCBA in KiCAD ? |
Hi @vossstef, |
@venice1200 i just need for larger CAD design the DS2 connector and wondering where to find this very special connector footprint... |
I got the base connector layout from the MiSTers PSX Snac Adapter from here https://github.com/blue212/SNAC-PSX/tree/main I modified it a bit (changed numbering order and margins) for my needs. I can upload my data not before Friday as i am not at home. |
Hi @venice1200 , looks great and will merge now. |
Hi @vossstef
The Pin footprint is Ok, but I think my "connector footprint" is a bit too small.
No Problem! Cheers |
Hi @venice1200, i rearranged into a dedicated folder as there is another larger PCBA board coming in the future... |
Is the planned board for the Tang Nano? |
It will be a TN20k carrier for Pi Pico WLAN and include in addition a 5 port USB HUB and DS2 connector pads when MIDI i/o not needed. |
Hi @vossstef,
I build my DS2 Adapter for the Spare Pin Header of the MiSTeryNano Midi Shield today and did some tests with a modified Core v1.5 to be able to use the Spare Header Pins.
Here are my Findings using the DS2 with my Adapter.
DS2 Pad Analog Mode (LED) On or Off (doesn't matter)
Testing with H.E.R.O two Button Version (NTSC)
Direction Buttons OK
Left Analog Stick not working
Select & Start Ok
Circle/A = Button 1 (HERO Fire)
Cross/B = Right Direction (!)
After pressing the Button the Direction Buttons are no longer working (Paddle Mode?)
I need to press Circle/A to get the Direction Buttons working again
Traingle/X = Left Direction (!)
After pressing the Button the Direction Buttons are no longer working (Paddle Mode?)
I need to press Circle/A to get the Direction Buttons working again
Square/Y = Button 2 (HERO Bomb)
Shoulder Buttons no function
Same with HERO (OneButton) PAL Version
DS2 Pad Analog Mode On
Testing Super Breakout
Select & Start Ok
Slider Game Direction with Left Analog Stick (Left/Right) Ok
Circle/A = After pressing the Button the left Analog Stick is no longer working
I need to press Cross/B or Triangle/X or Square/Y to get the left Analog Stick working again
Cross/B = Button 1 (Start Ball)
Triangle/X = no function
Square/Y = no function
Testing Video Olympics
Game Direction with Left Analog Stick (Up/Down) Ok
Need to invert Paddle direction
If you press the wrong button the Pad stops responding which is inconvenient (the same happens with an USB Pad).
Maybe a two button combination will be better for paddle activation/deactivation.
The first Button is Circle in Joystick Mode and Cross in Paddle Mode?
Btw, Mouse 🖱️ as Paddle works fine 👍
Happy X-Mas 🎄
The text was updated successfully, but these errors were encountered: