Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Hi,

When i first started using GameEX i posted about getting a combo of buttons on my gamepad to exit an emulator. I eventually got this to work using the advanced config SNESV6.ini... So some time passed, HTPC got formatted and i never got my emulators setup again until the other night.

When i got everything setup i tried to configure this again, i should mention that i'm using a wireless XBox360 controller. Go into the config and tell it to exit when i press A, Y, Left and right bumper (keys 1,3,5,6) But this doesn't work. I configured everything like i did before, and i know that it's using the config since i stopped the ESC key from exiting the EMU and THAT worked no problem. So maybe are my button numbers wrong or am missing something else?

Posted
Hi,

When i first started using GameEX i posted about getting a combo of buttons on my gamepad to exit an emulator. I eventually got this to work using the advanced config SNESV6.ini... So some time passed, HTPC got formatted and i never got my emulators setup again until the other night.

When i got everything setup i tried to configure this again, i should mention that i'm using a wireless XBox360 controller. Go into the config and tell it to exit when i press A, Y, Left and right bumper (keys 1,3,5,6) But this doesn't work. I configured everything like i did before, and i know that it's using the config since i stopped the ESC key from exiting the EMU and THAT worked no problem. So maybe are my button numbers wrong or am missing something else?

Post your advanced config and we can see whats going on

Posted

Make sure you check that no direction keys are required as well. As I recall, the up line tends to hide the "=True" just based on the length of the line. That has gotten me before...

Posted

Sorry for the delay..been held up, here's the ZSNES V6 Config... I've tried the MapGamepadExit on the configs each emulator is using with no joy


# This is an advanced emulator configuration file. It does things such as allow keyboard only emulators to be operated by a gamepad, wait for additional processes to exit and map keys. If this file is used it overrides the MAPKeys setting for the emulator.

[GENERAL]

# Enabled. Use this.

Enabled=True


#Make MCE Back button and X-ARCADE Escape and SlikStik Escape to close emulator process

MapBack=True


#Make Escape key close emulator process

MapEscape=True








#When exiting an emulator via the above mappings, you can specify keys in the send keys format to send instead of having GameEx close the process to cleanly exit the emulator. Such as the Q Key or ALT F4 which is %{F4}

KeysToSendOnExit=q

#Wait for keys to be processed by the emulator

EmuWaitForKeys=False

#Additional processes to wait to exit or close on exit. Dont include the .exe. Leave blank not to use.

Process1=
Process2=
Process3=
Process4=






[JOYMAPPING]

# For mapping a GamePad to keys
# Specify a virtual key code to send when the specific joystick control is pressed. Look at vkcodes.htm for codes.

JoymappingEnabled=FALSE

Left=37
up=38
Right=39
Down=40
Button1=17
Button2=18
Button3=32
Button4=53
Button5=54
Button6=49
Button7=
Button8=
Button9=
Button10=
Button11=
Button12=


[MOUSEMAPPING]

# For registered users, the ability to control the mouse with a gamepad and/or directional keys.
# For example for PC strategy games.
# Apparantly this functionality is similar to the software Pinnacle profiler. Remember you can setup an emulator
# as one PC game. Specify enabled, and mousespeed 0-20. 20 Being fastest. This setting overrides the directional
# mapping for the above and buttons 1 and 2 Button 1/CTRL becomes left mouse. Button 2/ALT Right mouse

MouseMappingEnabled=false
MouseSpeed=0



[GAMEPADEXIT]

#MAP Gamepad controls to exit and make controls exit process

MapGamePadExit=TRUE

#Flag the controls that exit a game by placing True next to each control. To not use the control as part of the combination use a 0

Left=
Down=
Right=
Up=
Button1=True
Button2=
Button3=True
Button4=
Button5=True
Button6=True
Button7=
Button8=
Button9=
Button10=
Button11=
Button12=



[BLOCKKEYS]

# Use this section to disable and block key presses and mouse clicks.
# To disable the mouse clicks use code 1 for left mouse button,
# 2 for right button and 4 for middle button

Enabled=false

BlockKey_1=1
BlockKey_2=2
BlockKey_3=4
BlockKey_4=
BlockKey_5=





[KEYBOARDREMAP]

# Remap Keys for the emulator. Specify from the from key, which is the key you wish to replace the to key
# This should be good enough for real time gaming. Registered version feature. Look at VKCodes.htm for codes.

Enabled=False

Remap_1_From_VK=
Remap_1_To_VK=

Remap_2_From_VK=
Remap_2_To_VK=

Remap_3_From_VK=
Remap_3_To_VK=

Remap_4_From_VK=
Remap_4_To_VK=

Remap_5_From_VK=
Remap_5_To_VK=

Posted
Make sure you check that no direction keys are required as well. As I recall, the up line tends to hide the "=True" just based on the length of the line. That has gotten me before...

Yeah, should have tried this before editing and posting the config... Thanks, the 'up' line is what was messing it up, didn't notice it because of the length in comparison to everything else.

Guest
This topic is now closed to further replies.
×
×
  • Create New...