Page 1 of 1

Can I simulate a key e.g. {UP} when I pressed right mouse button (not released) and wheel up?

Posted: Fri Jan 18, 2019 4:28 am
by jack6th
XMBC Version: 2.18.1
Clear description of the problem: Can I simulate a key e.g. {UP} when I pressed right mouse button (not released) and wheel up?

Re: Can I simulate a key e.g. {UP} when I pressed right mouse button (not released) and wheel up?

Posted: Fri Jan 18, 2019 5:07 am
by markfilipak
jack6th wrote: Fri Jan 18, 2019 4:28 am XMBC Version: 2.18.1
Clear description of the problem: Can I simulate a key e.g. {UP} when I pressed right mouse button (not released) and wheel up?
May I ask for clarification?

Since wheel-up already scrolls up (...am I right?), then you appear to be asking whether the normal scrolling function can be overcome so that wheel-up moves the cursor instead...

If that is correct, may I suggest you try right-mouse click-&-release to switch to a new layer. In that new layer, the wheel is reported as cursor movement instead of scrolling. When done, right-mouse click-&-release switches back to the original layer.

Now, I haven't tried that, and in fact, I haven't successfully used XMBC yet -- I'm new -- but I think it might work. Try it.

Re: Can I simulate a key e.g. {UP} when I pressed right mouse button (not released) and wheel up?

Posted: Fri Jan 18, 2019 9:20 am
by phil
I think Jack6th means he wants to send the UP key when holding the right mouse button and scrolling the wheel up?

If so, then yes you can do this with "Button Chording".
Button Chording allows you to define different actions to buttons/wheel while a button is held down so in effect two buttons at a time (hence the chord).

Set the right button to "Button Chording" then in the chording config window, set the wheel up to "Simulated keystrokes" and enther {UP} in the simkey sequence.

NOTE: To avoid problems with the normal right mouse button functions, I recommend ticking the three tick boxes in the button chording config window:
"Block / Delay orriginal button action until chord is established"
"Unblock after" (750ms)
"Unblock when the mouse moves"
These options are probably checked by default but its worth checking!