runelite / runelite

Open source Old School RuneScape client
https://runelite.net
BSD 2-Clause "Simplified" License
4.66k stars 5.17k forks source link

Key Remapping - Shift and Mouse Buttons #9636

Open riptiondesc opened 4 years ago

riptiondesc commented 4 years ago

Could the ability to remap the Shift key be added to the Key Remapping plugin? This would make tick manipulation methods more comfortable in which the shift key needs to be clicked and released in a regular rhythm. While this may not be seen as necessary, as a rhythm game player Shift has become less comfortable to use consistently in rhythm than say, x, on my keyboard.

Also, would it be possible to add remapping of both left and right mouse buttons to the keyboard via the Key Remapping plugin? This would make AFK alching or thieving on a laptop without click buttons not on a trackpad more viable, without accidentally moving the cursor.

Dava96 commented 4 years ago

This would be much quicker to do yourself in AHK than for it to be implemented into Runelite.

Space::LButton
Alt::RButton
x::Shift
riptiondesc commented 4 years ago

While true, I feel at least the Mouse Button rebinds via Runelite would help improve user experience for many that may be dissuaded about using AHK due to Jagex's statement which, while advises remapping is OK, also specifically calls out AHK as being unacceptable. I personally use AHK to remap these but I could understand new/less tech savvy users wanting to do this being reluctant to do so due to poor communication by Jagex and the stigma around AHK in the community. I spent a few hours checking Twitter/Reddit for clarification if using AHK at all was even allowed anymore.

Not my call since I can't contribute via code, but just thought I'd give this perspective.

willediger commented 3 years ago

It would also be great to allow the Control key to be remapped as well, for Control+Click to run.

SandroVA commented 3 years ago

I feel like most keys should be rebindable on runelite. Especially leftclicks. When doing something repetitive like pickpocketing it gets really tiring to constantly click with my left index. Being able to rebind it to a keyboard key makes it much easier to left click with my left hand.

heffum commented 3 years ago

+1 for left click rebinds

vikke1234 commented 1 year ago

I'd like to add to this the ability to remap MB 4 & 5 (forward and back).

https://docs.oracle.com/javase/7/docs/api/java/awt/event/MouseEvent.html#getButton%28%29

dmsheets377 commented 1 year ago

+1 for mouse buttons, i have 5 buttons on my mouse that cant do anything :( just want them for the f-keys

Wynadorn commented 7 months ago

Best way to implement this would probably be to extend the Key Remapping plugin to allow for mouse buttons to be bound in addition to keystokes. plugins/keyremapping