News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Working analog stick demo

Started by Curlypaul, 22:25, 09 June 22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Curlypaul



I recently felt the urge to rewire a PC/Apple ananlog stick to work with my GX4000

https://www.cpcwiki.eu/forum/hardware-related/analogue-stick-conversion/

Was a relatively easy affair, I'd document what wires went where, but they really did look like they'd used whatever random colours they had lying around, so your's might be different anyway so best to read the wiki and draw a diagram.

Full source is available, mainly pasted together from code I found at The Unofficial Amstrad WWW Resource

https://github.com/CurlyPaul/cpc-plus-analog-poc/

I was starting to think of ways to add momentum, but the natural springyness of the joystick added it anway. It's a bit jitery, which may be dirty pots, but the movement is surprisingly smooth and precise, would be good for a shooter


GUNHED

I don't know if this is of much help: By myself I had one working analogue stick for the 6128plus back the day, so I found out how it works. Later on I converted some stick to work with the Plus / GX range. As test I always used the Plus version of FutureOS, because the analogue joystick here drives the mouse arrow.

An example is shown in the first 9 seconds of this video:

https://www.youtube.com/watch?v=-U4ICAuXjqY
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)

Curlypaul

Yeah I've heard Future can use it, I guess it would be a good test if thr jitter is normal and needs to be smoothed out in code.

I'm not sure how much further I'm going to take this, I wasn't planning on it, but I'm tempted to make a Rick and Morty themed shooter as a way to keep learning what the plus can do. 

Seems the gx is the flavour of the month lately as well, lots of homebrew

Powered by SMFPacks Menu Editor Mod