racerxdl / piuio_clone

A AVR clone of Pump It Up USB IO Board - Fully compatible with the original machines.
GNU General Public License v3.0
31 stars 13 forks source link

Which code controls the key of each sensor? #4

Open nekogyo opened 7 years ago

nekogyo commented 7 years ago

I saw 4 sensor singnal per key in io2key and openitg input test(UP DOWN LEFT RIGHT). Almost no the same scene when i push key. But I only use simple piuio, which code control the different sensor singnal?

http://i2.muimg.com/1949/9b68bfce2faa525d.png # @racerxdl

racerxdl commented 7 years ago

I'm not sure I understood your question.

nekogyo commented 7 years ago

See the pic. This software from https://www.youtube.com/watch?v=xo5m9dlNFfY. I run it on Windows and use piuio_clone simple.ver.

I know piuio simple.ver only use 1 Micro Switch per PAD. but arcade has 4 Sensor Switch. OpenITG and this software can detect all the Sensor Switch.

The question is I only use 1 micro switch,but game and software can detect different Sensor Switch activate.

I would like use 4 switch to ensure the pad work fine. I'm sorry that my english is poor.

martirius commented 6 years ago

@nekogyo did you read the doc.txt?

racerxdl commented 6 years ago

@nekogyo as @martirius said, the doc explains how it works for other sensors: https://github.com/racerxdl/piuio_clone/blob/master/docs/piuio.txt

I just skipped those because atmega328 is small, so it can't handle all I/O that original PIUIO has (at least not directly)