C64 Mapping Buttons Issues!
-
Re: C64 mapping buttons to custom keys?
Hi,
Does anyone have an idea on how I can fix my c64 joystick controls? I have a GBZ running Vice and I have mapped all the buttons, but it's not working as it should.
On Port1 my arrow keys WORK but the fire button does NOT and when I swap joystick to Port2 my Fire button WORKS but my arrow keys do NOT.
# VICE joystick mapping file # # A joystick map is read in as patch to the current map. # # File format: # - comment lines start with '#' # - keyword lines start with '!keyword' # - normal line has 'joynum inputtype inputindex action' # # Keywords and their lines are: # '!CLEAR' clear all mappings # # inputtype: # 0 axis # 1 button # 2 hat # 3 ball # # Note that each axis has 2 inputindex entries and each hat has 4. # # action [action_parameters]: # 0 none # 1 port pin joystick (pin: 1/2/4/8/16 = u/d/l/r/fire) # 2 row col keyboard # 3 map # 4 UI activate # 5 path&to&item UI function # !CLEAR # GPIO Controller 1 0 0 0 1 1 8 0 0 1 1 1 4 0 0 2 1 1 2 0 0 3 1 1 1 0 1 0 1 0 16 0 1 1 1 1 16 0 1 2 5 Machine settings&Joystick settings&Swap joystick ports 0 1 3 3 0 1 4 5 Virtual keyboard 0 1 5 5 Machine settings&Joystick settings&Swap joystick ports 0 1 6 5 Quit emulator 0 1 7 4 0 1 8 1 1 16
Thanks!!!
-
-
@whistlernl when i mapped thecontrols for vice from inside of vice since i am the only player playing i mapped player 1’s fire button to my b button and player 2’s fire button to my button a. Then i mapped both player directions to the same joystick. Then i have both fire buttons useable at the same time for games like 1943 that uses both buttons. Then when i swap controllers, it still uses the same joystick and i still have both fire buttons on my controller.
-
@edmaul69 said in C64 Mapping Buttons Issues!:
@whistlernl when i mapped thecontrols for vice from inside of vice since i am the only player playing i mapped player 1’s fire button to my b button and player 2’s fire button to my button a. Then i mapped both player directions to the same joystick. Then i have both fire buttons useable at the same time for games like 1943 that uses both buttons. Then when i swap controllers, it still uses the same joystick and i still have both fire buttons on my controller.
The game I used for testen was 1942. So I will try your solution and hopefully it will also solve my probleem. Those controls in vice are weird.
Although the joymap file explains how to use/edit this files I still find it confusion.
# - normal line has 'joynum inputtype inputindex action'
a normal line has 4 numbers as I read it, but actually it has 6
# GPIO Controller 1 0 0 0 1 1 8
Thanks, will try the above as soon as I can!
-
@tuki_cat said in C64 Mapping Buttons Issues!:
@whistlernl does this help?
I also have a arcade cab with an ipac, so this will come in handy when I try to set it up there. Thanks!!
-
@whistlernl when i wired up my ipac in my apple iie pi i specifically programmed button a as enter and button b as space and start as esc. This made it pretty well setup for vice as those are the 3 most used keys in vice. Not sure why some games on c64 require hitting escape to get past some title screen/instructions screen while also using space or enter in that same game?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.