Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close emulator with hot keys #2244

Open
Koriebonx98 opened this issue Jan 18, 2024 · 3 comments
Open

Close emulator with hot keys #2244

Koriebonx98 opened this issue Jan 18, 2024 · 3 comments

Comments

@Koriebonx98
Copy link

There was a preset button set up that would allow this but it is currently no longer available.

can we close Xenia via controller hotkey? Or can you imply a little menu that allows game close, view achievements ect?

so when user pressed the guide button menu comes up with options like rpcs3, duckstation, ppsspp ect

@Cowpacino
Copy link

Cowpacino commented Jul 8, 2024

This feature isnt natively available on xenia emulator but you can use AutoHotkey for scripting xenia to close via controller hotkey.
; Example to close Xenia with a hotkey (e.g., pressing Guide + Back)
Joy1:: ; Assuming Joy1 is the Guide button
if GetKeyState("Joy2") ; Assuming Joy2 is the Back button
{
Process, Close, xenia.exe
}
return

@Koriebonx98
Copy link
Author

This feature isnt natively available on xenia emulator but you can use AutoHotkey for scripting xenia to close via controller hotkey.
; Example to close Xenia with a hotkey (e.g., pressing Guide + Back)
Joy1:: ; Assuming Joy1 is the Guide button
if GetKeyState("Joy2") ; Assuming Joy2 is the Back button
{
Process, Close, xenia.exe
}
return

Am aware of 3rd party software, I have joyxoff as uses Xbox 360 on screen keyboard.

however xenia had it when hot keys was first introduced where
guide & b = exit emulator.

for some reason that got removed ages ago

@ericTAMO
Copy link

This feature isnt natively available on xenia emulator but you can use AutoHotkey for scripting xenia to close via controller hotkey. ; Example to close Xenia with a hotkey (e.g., pressing Guide + Back) Joy1:: ; Assuming Joy1 is the Guide button if GetKeyState("Joy2") ; Assuming Joy2 is the Back button { Process, Close, xenia.exe } return

Hey @Cowpacino, thanks for this post, but I'll be honest I'm a total newb to Autohotkey, and also not great with any form of script creation in general. I'm trying to accomplish exactly what your example is proposing on my Windows pc using AutoHotKey to close xenia.com with a gamepad controller (probably xbox style connecting as xinput, but possibly 8bitdo controllers as well, not sure if that's important or not?). In your example, I assume somewhere above your example code I would have controller buttons defined, informing the script what Joy1 and Joy2 actually are (or what they map to?), is that correct? Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants