Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: tyweed on October 02, 2003, 12:22:25 pm

Title: i wanna get z26 to be able to remapp controls any ideas how?
Post by: tyweed on October 02, 2003, 12:22:25 pm
I'm hoping someone can help me out i just recently put epsxe on my cabinet and i noticed the alt key causes epsxe to pause. Since this is not the only problem i'm having with the darn alt key i'v decided to remapp my ipac to get rid of that key.

heres the problem i have all emulators that can be remapped except one which is my atari z26. its pre done as mame default controls which was redone by pacman fan.I'd really like to keep z26 in my cabinet once i remap the alt key any ideas?
Title: Re:i wanna get z26 to be able to remapp controls any ideas how?
Post by: PacManFan on October 02, 2003, 04:42:51 pm
Remapping the keys in z26 dynamically is probably not going to happen, Most of the code was written in asembler, not c++ or c. If you would like, send me the keys that you want changed, and I'll build you a "Custom" version, or I can post the source code so you can do it.
-PMF
Title: Re:i wanna get z26 to be able to remapp controls any ideas how?
Post by: creatine28 on October 02, 2003, 06:11:25 pm
Remapping the keys in z26 dynamically is probably not going to happen, Most of the code was written in asembler, not c++ or c. If you would like, send me the keys that you want changed, and I'll build you a "Custom" version, or I can post the source code so you can do it.
-PMF

Quick question,

What should I use to compile the Z26 Source?

Thanks,

Steve
Title: Re:i wanna get z26 to be able to remapp controls any ideas how?
Post by: tyweed on October 02, 2003, 07:09:18 pm
If you would like, send me the keys that you want changed, and I'll build you a "Custom" version.
-PMF

hey that be great man i'd be very gratefull if you did that for me. i'll go figure out what my default key will be asap. Oh also may i ask you i'm a computer science major and i'd love to figure out how this works. For  example


KeyLeft =                      04Bh      ; Left arrow
KeyRight =      04Dh      ; Right arrow
KeyUp =         048h      ; Up arrow
KeyDown =      050h      ; Down arrow

how do you know 04bh is left arrow key? is that universal for assembly or is this the location he decided to store this key? i'v searched everywhere it doesn't seem to be ascii, its a hex but i don't see a connection? is there a chart somewhere that has specific hex relations to keyboard stroke?
Title: Re:i wanna get z26 to be able to remapp controls any ideas how?
Post by: Jakobud on October 02, 2003, 08:49:03 pm
When you convert those hex values to decimal they equal the keyboard scan codes for those keys.
Title: Re:i wanna get z26 to be able to remapp controls any ideas how?
Post by: tyweed on October 02, 2003, 09:40:11 pm
Hey thanks i got it!   now how do i take all those z26 files and make them a z26.exe?

i have microsoft visual c++ can i do it with this?