News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Duke

USB game controllers and mice

Started by Duke, 00:30, 02 February 19

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

HAL6128

Not sure myself. Just a quick thought about reading old hardware (like a ST Trackball plugged onto the joystick port). But that's totally different to your project.
...proudly supported Schnapps Demo, Pentomino and NQ-Music-Disc with GFX

GUNHED

Still dreaming of ST-Mouse Adapter compatibility...  :-X :-X :-X :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

Duke


A little progress, now support for Dualshock 3 & 4 controllers.


https://youtu.be/KO3-AH6rpYk

(Nice game @PuzCPC)

Unfortunately I made another mistake or two on the revision 2 PCB, so I will have to order another batch before I can produce any.
Upgrading via USB stick is now also possible. Need to still add some stuff before I am happy with the code.

Maniac

Would love one of these please! Will it support both joystick ports on the Plus? If so would it be possible to use one in each port for 2 player games? If that's the case I might want 2 please.

Phantomz


@Duke


How many fire buttons do these support, 2 or 3?

Duke

Quote from: Maniac on 20:59, 07 March 19
Will it support both joystick ports on the Plus? If so would it be possible to use one in each port for 2 player games? If that's the case I might want 2 please.
Yes it should be possible to use one in each of the CPC plus ports. Will test when I have two working modules :)

Quote from: Phantomz on 21:35, 07 March 19
How many fire buttons do these support, 2 or 3?
3 for regular Amstrads
2 for Amstrad CPC plus

Phantomz

Quote from: Duke on 08:10, 08 March 19
3 for regular Amstrads
2 for Amstrad CPC plus


Nice, it's a shame that the plus hardware doesn't support 3 buttons.  :doh:


At least the original CPC range support 3 buttons, I'll have to remap controls in Renegade & 1943.  ;D

TotO

#32
Because pin5 is not Fire3 but spare on CPC. Not kept on PLUS, while mostly 1 button was used on computers controllers (2 are on the analog port too).
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

PuzCPC

Quote from: Duke on 13:17, 07 March 19
A little progress, now support for Dualshock 3 & 4 controllers.


https://youtu.be/KO3-AH6rpYk

(Nice game @PuzCPC)

Unfortunately I made another mistake or two on the revision 2 PCB, so I will have to order another batch before I can produce any.
Upgrading via USB stick is now also possible. Need to still add some stuff before I am happy with the code.



Hi,
I see it for the first time on the real CPC. :D
What's really so smooth scrolling?  :o
PuzCPC

Phantomz

#34
@Duke


I've remapped the controls in " Renegade ".


I've made it Joystick only, I've mapped the attacks to the 3 joystick buttons, I've made button 1 and 3 attack, with button 2 jump.


It's here if you want to give it a test.  ;D

Syncmaster319

Duke,

Great stuff as always.

The support for multiple fire buttons is a killer feature.  I love my monster joystick but its a shame to only have 1 fire button.

Will be an instant purchase from me.

Mark

Duke

Quote from: Phantomz on 17:36, 08 March 19
@Duke


I've remapped the controls in " Renegade ".


I've made it Joystick only, I've mapped the attacks to the 3 joystick buttons, I've made button 1 and 3 attack, with button 2 jump.


It's here if you want to give it a test.  ;D

The archieve is damaged, can you re-attach it? - It's nice to have a game with 3 buttons to test, thanks.

Phantomz

Quote from: Duke on 08:27, 09 March 19
The archieve is damaged, can you re-attach it? - It's nice to have a game with 3 buttons to test, thanks.


Odd, it works for me, I used the latest version of winrar (trial version) as on a new laptop.


I'll have to look for another program to use to compress the disc.

Audronic

Quote from: Duke on 08:27, 09 March 19
The archieve is damaged, can you re-attach it? - It's nice to have a game with 3 buttons to test, thanks.


I was able to open the Renegade (3 Button Joy).rar file with  " iZip Unarchiver " On my MAC


Ray



Procrastinators Unite,
If it Ain't Broke PLEASE Don't Fix it.
I keep telling you I am Not Pedantic.
As I Live " Down Under " I Take my Gravity Tablets and Wear my Magnetic Boots to Keep me from Falling off.

Duke

Yes, got it working using the latest winrar, thanks (Appearently something changed from the old one I was using).
I guess it's better to use .zip as that atleast is freely available.

Phantomz

Quote from: Duke on 07:27, 11 March 19
Yes, got it working using the latest winrar, thanks (Appearently something changed from the old one I was using).
I guess it's better to use .zip as that atleast is freely available.

@Duke

I'm glad you managed to get it working, I'll download winzip later.

I've remapped the controls in " 1943 " to make it use 3 buttons by default for both players, you might like this also.  ;)

Button 1 = Fire, Button 2 = Rolling, Button 3 = Smart Bomb

Duke

#41
Final PCB arrived, tested and OK  8)

Hope to wrap up the bootloader and initial firmware over the weekend.
Still missing some female DC connectors before I can ship any.

GUNHED

#42
Like usually excellent and professional work!  :) :) :)
Since we discussed some idea, Duke, can can please in brief explain how they work?
Are they compatible to digital joysticks or can they provide proportional data?

They definitely win the price for the smallest adapter in CPC world ever.  :laugh:
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

Duke

#43
Quote from: GUNHED on 13:51, 05 April 19
Like usually excellent and professional work!  :) :) :)
Since we discussed some idea, Duke, can can please in brief explain how they work?
Are they compatible to digital joysticks or can they provide proportional data?

Thanks.
As for initial firmware release I think I will just provide plain digital joystick conversion.
However I already have my custom 5 bit proportional data mode working fine for USB mouses, but of course no real use for special modes yet.
The beauty is that it can be easily upgraded, if one has a USB stick laying around (just plug it into the USB port of the adapter and powercycle it).
So I can implement whatever I want, if there is a demand for it.

With other firmwares I will try to support ZX, C64, Amiga and Atari ST too (although the last 3 require different "jumper" setting via smd resistors). As I am in lack of proper mouses for the 16 bits and joysticks for the others.

Quote
They definitely win the price for the smallest adapter in CPC world ever.  :laugh:
Thanks for noticing, I did my best to make it as small as possible, I could probably still squeeze another couple of mm off, maybe for another revision.

GUNHED

No, no, please don't make it smaller. One just felt between two keys and disappeared.  :laugh:

Fun at side. I still do have the Atari ST mouse here, so if some day maybe the proportional firmware for the following adapter will be available, I volunteer for testing intensively. That's the one I mean:
http://www.cpcwiki.eu/index.php/Atari-ST_mouse_adapter

Do you already support three buttons? Like for the AMX mouse? If not, this could be a first firmware update.  :)

Cool project, please add me to the "I want to buy" list.  :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

Duke

#45
@GUNHED
Thanks, will consider it all later. It much more fun to make features if they are not just for myself (I am quite simple!).


Forgot to include a picture of the transparent enclosure... yea, it's heatshrink tube, but it will protect well against accidental shorts. I will need to practice it a bit more.
Also not sure if it will accumulate too much heat, to be tested!

Pricing for the initial run is 14 euro + shipping (4 euro) and this time PLUS paypal cost (but I consider you my friends). It will include a Y splitter cable for routing the powersupply to the adapter.
Price may change later if more is built etc.

EDIT: Initial batch sold out. Price going forward is now 15 euro with Y splitter cable.

GUNHED

This short cut protection is awesome, more often cables fall around a computer... oh well, we sometimes payed our price for this before. Shouldn't get hot IMHO.
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

XeNoMoRPH

Hi Duke !!!

Do you already accept orders from the usb adapter?  :o
your amstrad news source in spanish language : https://auamstrad.es

Duke

Quote from: XeNoMoRPH on 18:45, 05 April 19
Do you already accept orders from the usb adapter?  :o

Yes, I take orders for the first batch. Which will be 10-15 pcs, and should be ship able within the next 1-3 weeks (todo finish bootloader and initial firmware over the weekend and await female DC sockets).


So in short if you want one, send me a PM. Currently I only have Y-split power cables suitable for regular CPC, so if you have a CPC plus, you will need some sort of DC plug adapter.
It's important for the CPC that the USB adapter is powered together with the CPC (sharing same ground, which is not available on the joystick port). For other computers (except ZX +2/+3) it can be port powered or powered by seperate psu.

Picture of Y split cable I currently have, they will fit regular CPC (5.5x2.1mm plugs)

Maniac

Quote from: Duke on 19:09, 05 April 19
Yes, I take orders for the first batch. Which will be 10-15 pcs, and should be ship able within the next 1-3 weeks (todo finish bootloader and initial firmware over the weekend and await female DC sockets).


So in short if you want one, send me a PM. Currently I only have Y-split power cables suitable for regular CPC, so if you have a CPC plus, you will need some sort of DC plug adapter.
It's important for the CPC that the USB adapter is powered together with the CPC (sharing same ground, which is not available on the joystick port). For other computers (except ZX +2/+3) it can be port powered or powered by seperate psu.

Picture of Y split cable I currently have, they will fit regular CPC (5.5x2.1mm plugs)
Have PM'd you for one of the devices at the mo. A while ago I asked about a second device on the Plus given its 2 joystick ports but given the power requirements you mention in this post would this even be possible?

Powered by SMFPacks Menu Editor Mod