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

Right-click fix #74

Open
eskoONE opened this issue Apr 28, 2018 · 1 comment
Open

Right-click fix #74

eskoONE opened this issue Apr 28, 2018 · 1 comment

Comments

@eskoONE
Copy link

eskoONE commented Apr 28, 2018

is there a way to only use the right-click fix? ive looked through the code but the lines i found cant be used only in ahk? i dont know how to code so may have found the wrong lines.

; Perform a right-click while keeping the left mouse button down.
	;
	; Diablo II has an annoying behavior whereby right-clicking causes the left mouse button not to be
	; considered as held down. This function fixes that behavior.
	;
	; You can enable this fix globally in your own configuration with:
	;
	;     RButton::Diablo2_RightClick()
	;
	RightClick() {
		LBRestore := new this._LButtonRestore()
		; The game won't allow the RButton hold action (e.g., repeatedly activating a skill) to happen
		; if the LButton is down.
		;
		; For some reason, this works far more reliably if {RButton down} comes before {LButton up}.
		this.Send("{RButton down}{LButton up}")
		KeyWait, RButton
		this.Send("{RButton up}")
	}

how can u make use solely of this?

@eskoONE
Copy link
Author

eskoONE commented Apr 28, 2018

with akh only. forgot to mention that.

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

1 participant