Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: i wanna get z26 to be able to remapp controls any ideas how?  (Read 1574 times)

0 Members and 1 Guest are viewing this topic.

tyweed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:March 09, 2008, 01:29:03 pm
  • I want my own arcade controls!
i wanna get z26 to be able to remapp controls any ideas how?
« 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?

PacManFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:December 06, 2005, 12:18:56 pm
    • Kymaera Home Page
Re:i wanna get z26 to be able to remapp controls any ideas how?
« Reply #1 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
All Hail Smezznar! The Giant purple centipede of Omnicron 5. Regail him with your odiferous offerings of onion powder!

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Re:i wanna get z26 to be able to remapp controls any ideas how?
« Reply #2 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

tyweed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:March 09, 2008, 01:29:03 pm
  • I want my own arcade controls!
Re:i wanna get z26 to be able to remapp controls any ideas how?
« Reply #3 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?

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Re:i wanna get z26 to be able to remapp controls any ideas how?
« Reply #4 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.

tyweed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:March 09, 2008, 01:29:03 pm
  • I want my own arcade controls!
Re:i wanna get z26 to be able to remapp controls any ideas how?
« Reply #5 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?