Dan MacDonald
Dan MacDonald
I've added more comments to the joystick demo above.
I plan to update this soon to demonstrate pushing the buttons (A,B, C & START) too and using a second joystick by having a second sprite on screen controlled by...
My questions about reading joysticks got answered on the ZXN FB group today. I'm making a note of them here: [Robin Verhagen-Guest]programming keypresses (which is a good idea) aside, nextreg...
I don't have a copy of the second revision of the ZX Spectrum Next manual, but I do have a pdf of the first edition and the above info is...
> Dim X as ubyte forever: X =IN(31) IF X0 THEN PRINT X Goto forever Hi @ljg701 and @em00k I want to modify this so that it also shows when...
Thanks David! Is the above demo in the NextBuild repo now?
Yes I wanted to add another joystick demo of some sort that monitors all the buttons and of either controller, or both. I think I might just extend @ljg701 's...
> hi, you can read register values with GetReg() function. > > ``` > > #include "nextlib.bas" > > MainInit() > > ' Main loop > > do > >...
> ### Joystick > > ``` > dim j as ubyte > dim i as ubyte > do > ' port 31 if kempston 1, 51 kempston 2 > j...
> hi, you can read register values with GetReg() function. > > ``` > > #include "nextlib.bas" > > MainInit() > > ' Main loop > > do > >...