Jump to content

ahk middle mouse mapped to key not behaving like key


kcorcoran

Recommended Posts

need some help...

 

i am running a simple ahk script that maps center mouse btn to END key.

END is my exit emulator key in hyperLaunch and all emulators.

 

for most emulators this works as expected.. but for a couple... stella and zsnes... pressing MMB exits the emulator but leaves Hyperspin minimized in the background and it has to be force quit and restarted to get it back.

 

however, if I press the actual END key on the keyboard, the emulator exits and returns to hyperspin just fine.

 

i'm thinking this is related to AHK since pressing the actual key works but pressing the MMB mapped to END key causes an issue.

 

 

here's my script.

#SingleInstance force

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

MButton::End

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...