How can I perform a simulated key, only when pressing two buttons at the same time ?
Posted: Tue Feb 13, 2024 7:55 am
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).:
Hi,
So, in my previous message, I figured out how to simulated a keypress on BUTTONUP rather than BUTTONDOWN.
The reason I want to do this is that when I press a button and hold, not do that action until I release.
BUT, if instead of release I press another mouse button, I want to send a different keypress !
Here is my full situation.
I have a profile for firefox.exe
mouse button 4 -> simlated keys (pressed) -> {ACTIVATE}{CTRL}{PGUP}
mouse button 5 -> simlated keys (pressed) -> {ACTIVATE}{CTRL}{PGDN}
So how this works is
When I press mouse 4 or mouse 5, it will go to previous or next tab. Works great, I love it, can't use a computer without it !
Now I what I want to do is, press mouse 4 and hold, then press mouse 5 and it should send CTRL+W which closes the current tab, now release and it should NOT send "{ACTIVATE}{CTRL}{PGUP}"
I should be able, while holding down mouse 4, to press mouse 5 several times to send several CTRL+W.
I would also like to press mouse 5, hold it, then press mouse 4 to do the same thing (maybe ? or maybe that would be another action ?)
Now, extra crazy would be ... I have the amazing app AltSnap installed.
Could I press and hold mouse 4, nothing happens, I press and hold mouse 1 but my computer things I'm alt+mouse1 dragging. That'd be awesome !
How can I do this ?
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).:
Hi,
So, in my previous message, I figured out how to simulated a keypress on BUTTONUP rather than BUTTONDOWN.
The reason I want to do this is that when I press a button and hold, not do that action until I release.
BUT, if instead of release I press another mouse button, I want to send a different keypress !
Here is my full situation.
I have a profile for firefox.exe
mouse button 4 -> simlated keys (pressed) -> {ACTIVATE}{CTRL}{PGUP}
mouse button 5 -> simlated keys (pressed) -> {ACTIVATE}{CTRL}{PGDN}
So how this works is
When I press mouse 4 or mouse 5, it will go to previous or next tab. Works great, I love it, can't use a computer without it !
Now I what I want to do is, press mouse 4 and hold, then press mouse 5 and it should send CTRL+W which closes the current tab, now release and it should NOT send "{ACTIVATE}{CTRL}{PGUP}"
I should be able, while holding down mouse 4, to press mouse 5 several times to send several CTRL+W.
I would also like to press mouse 5, hold it, then press mouse 4 to do the same thing (maybe ? or maybe that would be another action ?)
Now, extra crazy would be ... I have the amazing app AltSnap installed.
Could I press and hold mouse 4, nothing happens, I press and hold mouse 1 but my computer things I'm alt+mouse1 dragging. That'd be awesome !
How can I do this ?