Page 1 of 1

alt + MouseButton4 not working

Posted: Tue Aug 17, 2021 9:12 am
by kofifus
XMBC Version: 2.19.2
Windows Version: 10
Mouse Information (brand/model): Kensington expert mouse trackball

First time user here, my goal is to have alt+MouseButton4 to do copy (ctrl+c)

I went to settings -> modifier keys and assigned Alt to Activate layer 2

I then went to Layer 2 and assigned Copy(Ctrl+C) to Mouse Button 4

(Mouse button 4 highlights in yellow when I click it on the trackball)

I then pressed Apply

However clicking alt+MouseButton4 ie over highlighted text in notepad does not copy .. I do get a layer activate balloon sometimes but seems a bit random.

What am I doing wrong ?

Re: alt + MouseButton4 not working

Posted: Tue Aug 17, 2021 10:09 am
by phil
I'm afraid you cant use ALT as a modifier key and then expect CTRL+C to work on top of that, as if you are holding ALT, you will effectively be sending CTRL+ALT+C - which is not Copy!.

Layer modifier keys can not be blocked (as that would cause havoc for general computer use) so they do impact anything being sent - its a bit of a flaw of the idea but there isn't anything that can be done about it, other than choosing keys that have no impact (and in this case particularly that's going to be neigh on possible).

Regards,
Phil

Re: alt + MouseButton4 not working

Posted: Tue Aug 17, 2021 11:55 pm
by kofifus
> if you are holding ALT, you will effectively be sending CTRL+ALT+C - which is not Copy!.

I don't follow, the keys ALT+C are sent programmatically from XMouse so why would ALT be sent ?

Re: alt + MouseButton4 not working

Posted: Wed Aug 18, 2021 12:40 am
by phil
Because you are holding ALT down to activate layer 2!
It is not sent programmatically, its you physically holding it down!

So when XMBC sends CTRL+C, and you are holding ALT down, Windows is seeing ALT+CTRL+C

Re: alt + MouseButton4 not working

Posted: Wed Aug 18, 2021 4:34 am
by kofifus
OK, seems like AutoHotKeys can do it though .. I was just hoping to avoid writing scripts