Karabiner-Elements map a key to a combination of mouse button AND key - karabiner

I saw this, but I couldn't find how to remap to a combination of key plus mouse button.
Is it possible to assign a letter to a key + mouse button combination?
Remap "f3" to ("q" + “button3") for example

Related

How to remap Caps Lock to Win key?

I have an IBM Model M keyboard that doesn't have a Win key, and I'd like to remap CapsLock using Autohotkey.
Ideally, I'd like to remap all possible combinations at once (eg. CapsLock->Windows) rather than having to treat each combination in a seaprate line (eg. CapsLock+Shift+W -> Win+Shift+W)
The script below works for simple key combos, like Win+R.
*Capslock::Send "{LWin down}"
*Capslock Up::Send "{LWin up}"
But it's not working when I press down multiple modifier keys, for example Win+Shift+W.
The simple remap below also isn't working for combined modifiers:
Capslock::LWin
If I open On Screen Keyboard, remove focus, and press down CapsLock and L-Alt, it shows me both Win and L-Alt are pressed.
Pressing the thrid key, for example W, would not be shown by On Screen Keyboard even when using a real Win key on another keyboard.

Match both shift keys being pressed in AutoHotKey

One of my keyboards has a larger Shift key where my pipe/backslash key normally is. Is there a way to match Shift-Shift in AutoHotKey (i.e. both Shift keys pressed) so that I can still type pipes (|) in the way I would with my other keyboards? I have tried simply ++ but that seems to equate to Shift-+.
Thanks to #0x464e's comment, I was able to find the Virtual Key codes (VKs) for left shift and right shift by:
Adding ++::Send {U+007C} to my ahk script (right of the :: is irrelevant here, this is just so that Shift shows up in the key history)
Right click the script in the system tray, click Open, select Key History in the View tab.
Type Shift-+ a few times with each Shift key into a text editor.
Hit F5 in the Key History window and read off the values for Virtual Key for Left Shift and Right Shift (VKA0 and VKA1 respectively in my case).
Then I added the following rules to my ahk script to send a pipe whenever I held the Right Shift key and pressed the Left Shift key:
VKA1 & VKA0::Send {U+007C}

Recognize modifiers keys in EFI

when you press a modifier key in macOS,Windows or Linux,... The On-screen Keyboard shows which modifiers are being pressed, even when you don't press a normal key. So how to do the same thing in EFI(EDKII).
Thanks.

Assign three key combination in any one of keys

how can i assign Control + Shift + S in any of one of the keys like,ALT or 4 or space using autohotkey.I am new to autohotkey. I need this key combination in a single key. since, in my work i need to press these keys repeatedly?
space::^+s
Replace space with the key you want to be remaped into Control + Shift + S.

Mouse button modifiers - Autohotkey

I want to set up my mouse buttons to perform different functions if I press and hold them, or if I press them while holding down shift/alt/ctrl.
As some trivial examples:
Shift-leftMouseButton = "back" in firefox history?
Shift-rightMouseButton = go forward in firefox,
Press-and-hold right mouse button = some other action in firefox (eg, move to opposite screen and maximize).
EDIT:
I forgot to mention I have 5 mouse buttons. (Microsoft Wireless Laser Mouse 6000)
Well, you can map those combinations to other key combinations, as below.
shift + left mouse -> alt + left
+LBUTTON::SendInput,!{LEFT}
shift + right mouse -> alt + right
+RBUTTON::SendInput,!{RIGHT}
Beyond that, you can execute a series of commands, if you wanted to also, say, activate a Firefox window first.
To do the press-and-hold, you'd have to use a timer and it is a bit more complicated. You'd also need to figure out how you want to execute "some other action." Do you have a set of keystrokes that would achieve what you say? For example, I have CTRL + ` mapped to switch screens, so I'd send that and then Windows key + up to do it.