English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 09 December 2019, 00:43   #1
prezi
Registered User
 
Join Date: Nov 2019
Location: Poland
Posts: 9
original quickshot joystick autofire frequency

Helo,


I just programmed atari-like joystick using arduino. It is equipped with autofire and I would like to set it up just like in original joystick. Could anyone check it out for me? Please.
prezi is offline  
Old 09 December 2019, 20:52   #2
nogginthenog
Amigan
 
Join Date: Feb 2012
Location: London
Posts: 1,311
There's no link prezi.
nogginthenog is online now  
Old 10 December 2019, 03:10   #3
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Hello prezi,

which Quickshot model do you mean?

I just measured the autofire frequencies of 4 Joysticks for you. Cps means clicks per second.

Code:
Quickgun Turbo Pro:   7 cps
Zipstick:            13 cps
Quickshot 128F:      29 cps
Competition Pro:     62 cps (!)
(transparent model with autofire)
I wonder what is the best for many games. I think 9-16 is the most useful.

Hope that helps

PS: Do you want to share a picture of your project?
Attached Thumbnails
Click image for larger version

Name:	joystick cps check1.PNG
Views:	152
Size:	10.2 KB
ID:	65474  
Nightshft is offline  
Old 10 December 2019, 11:58   #4
prezi
Registered User
 
Join Date: Nov 2019
Location: Poland
Posts: 9
Quote:
Originally Posted by Nightshft View Post
Hello prezi,


PS: Do you want to share a picture of your project?



Up to now I have almost all parts (I have to buy them in many
different shops). Meanwhile I decided to program arduino micro.
When I finish the whole project I will share with you all pictures of that.
Joystick as such will be very similar to others so-called "arcade joystick with two buttons".


I attach the arduino code: besides it has rapidifre this is really "zero delay" joystick.
Attached Files
File Type: zip atari-like-rapidfire-led-interrupt.zip (3.2 KB, 81 views)

Last edited by prezi; 14 January 2020 at 01:00.
prezi is offline  
Old 10 December 2019, 12:04   #5
prezi
Registered User
 
Join Date: Nov 2019
Location: Poland
Posts: 9
Quote:
Originally Posted by Nightshft View Post
Hello prezi,
Cps means clicks per second.

To be sure: by CPS do you mean faked button "clicks" (both press and release). If you do, it means that for instance if CPS is 29 then there is
14.5 "shots" per second.
prezi is offline  
Old 10 December 2019, 12:22   #6
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,640
Funny that the "turbo" one has the slowest autofire :-D What liars...

Last edited by Minuous; 10 December 2019 at 13:49.
Minuous is offline  
Old 10 December 2019, 14:09   #7
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Quote:
Originally Posted by prezi View Post
To be sure: by CPS do you mean faked button "clicks" (both press and release). If you do, it means that for instance if CPS is 29 then there is 14.5 "shots" per second.
No, it means 29 shots per second.

The Comp Pro is ridiculously fast. I once checked the best autofire rate for River Raid Reloaded and it was about 15 cps.

Quote:
Funny that the "turbo" one has the slowest autofire :-D What liars...
At least it's a beauty (Google it)
Nightshft is offline  
Old 10 December 2019, 14:36   #8
prezi
Registered User
 
Join Date: Nov 2019
Location: Poland
Posts: 9
Quote:
Originally Posted by Nightshft View Post
No, it means 29 shots per second.

The Comp Pro is ridiculously fast. I once checked the best autofire rate for River Raid Reloaded and it was about 15 cps.

Thank you very much!
prezi is offline  
Old 06 January 2020, 03:15   #9
prezi
Registered User
 
Join Date: Nov 2019
Location: Poland
Posts: 9
USB Atari-like joystik with rapidfire

Quote:
Originally Posted by nogginthenog View Post
There's no link prezi.

I attach pictures and Arduino code.


Parts:
-enclosure Hammond HM-1591USBK
-joystick Sanwa JLF-TP-8YT
-GT-Y Octo Gate
-KOWAL 1mm Oversize Actuator
-2Kg spring from Focus Attack
-two non-original push buttons 30mm
-one LED Red Latching On/Off Switch (as rapidfire switch)
-one arduino clone ATMEGA 32U4 Arduino PRO MICRO
-some cables
-three pieces of wood
-4 threads + 4 screws (to attach joystick plate to wooden pieces)


Joystick is attached to wooden pieces because the enclosure is made of ABS so it's soft. And thanks to that there are no visible screws. In addition joystick is more stable and "heavy".


Both push button are connected together so there is actually just only "button A".


There are many diy projects like that but none of them has an autofire (rapidfire). In most of other projects some crappy "zero delay" encoder board are used. But they are not "zero delay". I bought one and I found that this is usb1.1 and the polling delay is at least 10ms. Just like for instance Competition Pro USB Joystick. In case of arduino projects everybody uses "delay" instruction to debounce joystick.

In attached Arduino code no "delay" instruction is used. Every pin is debounced separately by non-delay counter. Eg. for 10ms fire state cannot be changed but meanwhile you can change up-pin state.
Arduino ATMEGA 32U4 based boards have 1ms USB polling delay. State of pins is read about 50 times per millisecond so 1000hz usb polling rate is real.

edit: atari-like-rapidfire-led-interrupt.zip is a little bit faster and supports rapidfire without led
Attached Thumbnails
Click image for larger version

Name:	atari-like-inside.jpg
Views:	270
Size:	716.5 KB
ID:	65839   Click image for larger version

Name:	atari-like-ready1.jpg
Views:	276
Size:	638.4 KB
ID:	65840   Click image for larger version

Name:	atari-like-ready2.jpg
Views:	273
Size:	479.4 KB
ID:	65841  
Attached Files
File Type: zip atari-like-rapidfire-led-interrupt.zip (3.2 KB, 86 views)

Last edited by prezi; 14 January 2020 at 01:01.
prezi is offline  
Old 11 January 2020, 00:41   #10
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Quote:
Originally Posted by prezi View Post
In attached Arduino code no "delay" instruction is used. Every pin is debounced separately by non-delay counter. Eg. for 10ms fire state cannot be changed but meanwhile you can change up-pin state.
Arduino ATMEGA 32U4 based boards have 1ms USB polling delay. State of pins is read about 50 times per millisecond so 1000hz usb polling rate is real.
Nice Project prezi!
How well does it work when you test/use the Joystick?
Nightshft is offline  
Old 12 January 2020, 17:40   #11
prezi
Registered User
 
Join Date: Nov 2019
Location: Poland
Posts: 9
just great. Actually I use it mostly with VICE (C64 emulator) and sometimes with FS-UAE. In VICE I play with my kids in Boulder Dash and running away from falling boulder is a piece of cake. In case of competition pro usb it was not so easy. In FS-UAE we play Prehistrorik and Dyna Blaster and that joy is very responsive. Making corners is very easy with sanwa -- thus jumping in Giana and Bruce Lee is easy.

Last edited by prezi; 13 January 2020 at 21:14.
prezi is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
What about this joystick - Quickshot 128F & 138F kixs Retrogaming General Discussion 24 09 September 2019 23:12
Joystick Autofire daznic support.Hardware 6 18 October 2016 20:56
Quickshot Python: crap joystick or crappest joystick ever? T_hairy_bootson Nostalgia & memories 141 13 September 2016 15:36
Quickshot II Turbo joystick dreamkatcha support.Hardware 14 22 October 2012 09:53

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:24.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10410 seconds with 14 queries