The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: Hutt on April 11, 2013, 10:05:58 pm

Title: Can I do this in WinVice
Post by: Hutt on April 11, 2013, 10:05:58 pm
Ok. So I am finished (except for software) with my MAME cabinet.

I am using Hyperspin for my front end for multiple systems.

I am using Winvice for the C64 emulation.
I have a 4 player cab with player 1 and 2 having 6 buttons each.

Here is my dilemma. Most 64 games used the keyboard in some way even though most only need a few keys.

Now obviously the joystick and fire are no problem. But for the games requiring more I do not want to have to pull out a keyboard if I can avoid it.

Lets take a game like Spelunker for example. Joystick + trigger to jump.
Also uses D for dynamite, F for flare, and space bar for ghost zapper.

Joystick 1 has 6 buttons. The keyboard controller (I-pac) is programmed for the following... Left control, Left alt, Space, Left shift, Z, X
These are the standard mame controls.

It there anyway to make WinVice recognize these controls the way I need them to.
Left control would be trigger. That is standard, no problem.
Space happens to be needed so that is covered also.
Now the problem keys D and F. Could WinVice be programmed to recognize the Z key as D and the X key as F.
This was I could use my regular button set up without having to pull out the keyboard.
So simply put if I am pressing player 1 button 5 which is a Z the emulator would actually think I am pressing a D.

So of course this would be different on a game for game basis all programmed into WinVice.
Program LED Blinky to light up the buttons used in each game and bickety bam life is good.

Is this possible?
Title: Re: Can I do this in WinVice
Post by: Thenasty on April 12, 2013, 09:48:15 pm
AHK think should do it.
Title: Re: Can I do this in WinVice
Post by: Hutt on April 12, 2013, 10:02:12 pm
Could you elaborate a little more....
Title: Re: Can I do this in WinVice
Post by: sandheaver on April 12, 2013, 10:45:40 pm
Could you elaborate a little more....

AHK = AutoHotKey.  Google it.  It will help you.
Title: Re: Can I do this in WinVice
Post by: Hutt on April 13, 2013, 07:41:39 am
Heh, I know what it means. I have to use AHK files in Hyperspin including for the Commodore 64....
But I doesn't mean I know what to do with them  ??? ??? ???

BTW: I also have a thread going in a Commodore forum with some suggestions I wont be able try until later tonight
http://www.lemon64.com/forum/viewtopic.php?t=47412 (http://www.lemon64.com/forum/viewtopic.php?t=47412)