Performing action on BUTTONUP rather than BUTTONDOWN ?

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
shodan
New User
Posts: 10
Joined: Tue Feb 13, 2024 5:22 am

Performing action on BUTTONUP rather than BUTTONDOWN ?

Post by shodan »

Please fill in this template when posting!
XMBC Version: 2.20.5
Installed or Portable version: installed
Windows Version:
Edition Windows 10 Pro
Version 22H2
OS build 19045.3930
Experience Windows Feature Experience Pack 1000.19053.1000.0

Mouse Information (brand/model):
logitech mx master 3s
Relevant Computer Information (CPU, RAM etc):
Did the problem occur after an upgrade of XMBC? (If so, from what version?):
Did the problem occur after a Windows update/upgrade? (If so, from what version?):
How long have you used XMBC?:
year long
What language and keyboard layout do you use in Windows?:
english I think en_uk but windows always hides where the keyboard layout is and I can't find it !
Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:



Hello,

I have mouse button 4 and 5 set to send CTRL+PAGEUP and CTRL+PAGEDOWN as simulated keys.

When I press the button, it immediately sends the keys.

I wish to send the keys on the BUTTONUP instead of the current BUTTONDOWN.

Is this possible ?

So to be clear, this means I press mouse button 4 for instance and nothing happens (I am blocking original input for firefox.exe)

I have a screenshot of my XMBC setup, but can't post the link to url nor attach it to this post.


profile firefox.exe
mouse button 4 -> simlated keys (pressed) -> {ACTIVATE}{CTRL}{PGUP}
mouse button 5 -> simlated keys (pressed) -> {ACTIVATE}{CTRL}{PGDN}


Oh wait, I just saw how to do it !

"How to send the simulated key press" "1. As mouse button is pressed"

Ok, awesome, I'm leaving this up for anyone trying to search for BUTTONUP BUTTONDOWN, I couldn't find clues to do this when searching this forum !
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: Performing action on BUTTONUP rather than BUTTONDOWN ?

Post by phil »

Yep, you already found it, but select Method 2, "As mouse button is released" in the How to send the simulated key press dropdown.
Thanks for leaving your detailed message for others!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/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