Keyboard and mouse key combinations

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Post Reply
diwizard
New User
Posts: 2
Joined: Fri Jan 14, 2022 4:16 pm

Keyboard and mouse key combinations

Post by diwizard »

Hello!

Sorry for may be stupid question but - is it any way to use alt/win/ctrl/... key combination with mouse buttons? I.e., for example, I wish to map Ctrl+Mouse3 to WinKey+Tab. Is it possible?

Thank you!

XMBC Version: 2.19.2
Windows Version: Windows 10 21H2
Mouse Information (brand/model): Logitech

User avatar
phil
Site Admin
Posts: 6917
Joined: Sun Apr 06, 2003 11:12 pm

Re: Keyboard and mouse key combinations

Post by phil »

Well, that's a tricky one, because if you are holding CTRL, then you will actually be sending
CTRL + WIN + TAB

You can do this in XMBC (using layers and layer modifier keys) but you will probably find it wont have the desired effect what with CTRL being held down too!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)

diwizard
New User
Posts: 2
Joined: Fri Jan 14, 2022 4:16 pm

Re: Keyboard and mouse key combinations

Post by diwizard »

But, in any case, how can I create an event not for "Mouse Button 4" but "Mouse Button 4 + LCtrl"?
At the moment, my events fired always when I simply press "Mouse Button 4".

User avatar
phil
Site Admin
Posts: 6917
Joined: Sun Apr 06, 2003 11:12 pm

Re: Keyboard and mouse key combinations

Post by phil »

As I said, make use of layers and layer modifier keys.
Set mouse button 4 on LAYER 2 to the action you want to send with CTRL+MB4
Enable layer modifier keys and set CTRL as the modifier key for layer 2.

When you press CTRL, layer 2 will activate and thus CTRL+MB4 will execute the action assigned on layer 2.

You just need to be aware, that because CTRL is held, any keys/actions you send will also have CTRL pressed (which is why you will probably find that the original query wont work because chances are CTRL+WIN+TAB wont do the same as WIN+TAB!).
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)

Post Reply