Page 1 of 2

Mouse Movement to Scroll eats the Click!

Posted: Sat Sep 17, 2016 8:01 am
by ziongates
Greetings, I've noticed that when I assign an option to 'Mouse Movement to Scroll' It swallows all regular clicks.
I need the scroll option but I still need to be able to click (before initiating a drag to scroll).
Is that possible?

Re: Mouse Movement to Scroll eats the Click!

Posted: Sun Sep 18, 2016 5:34 pm
by phil
Not in the current version - do you mean you want the original button click to be passed through?
I guess ti could be done, I'll have a look, but probably not before 2.14 is released.

Thanks,
Phil

Re: Mouse Movement to Scroll eats the Click!

Posted: Tue Sep 20, 2016 9:04 am
by injtsvetkov
I had also thought about that. IMO the best would be to have an option to block original mouse input like in Sim Keys. Maybe combine all 8 'Change movement to scroll' options in one and make it open a separate window with drop-down list of these 8 options and a checkbox for the block original mouse input option.

Greetings!
Iliya

Re: Mouse Movement to Scroll eats the Click!

Posted: Tue Sep 20, 2016 9:53 am
by phil
Yes I like that idea.... A bit more work but easier to understand :)
It will still probably wait till after 2.14 is released.

Re: Mouse Movement to Scroll eats the Click!

Posted: Tue Sep 20, 2016 1:16 pm
by injtsvetkov
Nice :), plus the commands list will become a bit shorter.

Re: Mouse Movement to Scroll eats the Click!

Posted: Fri Sep 30, 2016 2:18 pm
by ziongates
It's about functionality, scrolling requires a click THEN drag, users may still need their regular click functionality in addition to the scroll override.

Re: Mouse Movement to Scroll eats the Click!

Posted: Fri Sep 30, 2016 2:21 pm
by ziongates
phil wrote:do you mean you want the original button click to be passed through?
I guess ti could be done, I'll have a look, but probably not before 2.14 is released.
Phil
Yep, the original click passed thru IF it's just a click and release.

Re: Mouse Movement to Scroll eats the Click!

Posted: Fri Sep 30, 2016 8:25 pm
by injtsvetkov
Well unfortunately XMBC couldn't know when it will be just a click and when not, hence it won't be able to decide whether to pass the 'button pressed' message or not. Now for the 'button released' message maybe there is a chance but I hope it won't be overcomplicated, although it would be nice to have an option to block it only when scrolling has actually been performed. Actually that would lead to the following 4 cases:

Method 1 - Block both messages - like it is now
Method 2 - Block 'pressed' message, pass 'released' message if no mouse movement (similar to Button chording, that way you can still open the context menu with RMB while using it for scrolling too)
Method 3 - Pass 'pressed' message, pass 'released' message if no mouse movement (that way you can still use the LMB click while using it for scrolling too)
Method 4 - Pass both messages

Thanks
Iliya

Re: Mouse Movement to Scroll eats the Click!

Posted: Sat Oct 01, 2016 3:36 pm
by phil
Method 2 - Block 'pressed' message, pass 'released' message if no mouse movement (similar to Button chording, that way you can still open the context menu with RMB while using it for scrolling too)
XMBC cant retrospectively block the pressed message - once the pressed message has been let through, a release message must also be let through else the button will effectively be stuck down.

If the pressed message was blocked, sending a release message will also confuse things! Windows will be WTF - how can I get a release message without a pressed message??!! :)

So either it is blocked or not blocked. If its blocked, the press can be simulated when the release is received - that is about the best that can be done - and is how it works with chording (assuming the block option is ticked). i can do the same with scrolling.... I suppose there could be block and then start a timer to inject a new press event shortly afterwards if nothing else is done but that's liable to error and is perhaps not such a sensible idea...

Re: Mouse Movement to Scroll eats the Click!

Posted: Mon Oct 03, 2016 3:41 am
by injtsvetkov
phil wrote:Windows will be WTF - how can I get a release message without a pressed message??!! :)
Oh, that crappy windows, I thought it's not gonna mind that :haha:

Then the best is gonna be like chording. I also think the timer is not a good idea, it even seems kinda useless IMO :?

Re: Mouse Movement to Scroll eats the Click!

Posted: Mon Oct 03, 2016 10:56 am
by phil
OK I have been working on this yesterday and have migrated the change movement to scroll to a new configuration window. ive used the same technique as with the chording and it seems to work (although I'm still not convinced its a good idea :)).

Now I just need to finish implementing it before i can release beta 1 :).

Thanks,
Phil

Re: Mouse Movement to Scroll eats the Click!

Posted: Mon Oct 03, 2016 1:51 pm
by injtsvetkov
phil wrote:(although I'm still not convinced its a good idea :)).
Oh, I can't wait to prove you wrong :D
I think it's gonna be charming :)

Re: Mouse Movement to Scroll eats the Click!

Posted: Mon Jan 23, 2017 2:40 pm
by zorglups
Hi,

First post here so let me tell you: Thanks for your work. This is wonderful for the community.

I too would like to keep my right click and have it scroll when I keep it down AND move my mouse up/down.
I would use it with a trackball and that would be awesome.

It would be even better if while I scroll, the cursor would not move ;-) (which mean that you would need to block mouse movement while you are in the scroll mode).

I can be beta tester :shock:

Best regards,

Pierre

Re: Mouse Movement to Scroll eats the Click!

Posted: Mon Jan 23, 2017 9:07 pm
by phil
Well 2.15 beta (with this option) has been out on the forums for some months now - so feel free to go to the 2.15 beta forum post and try it out.

The new movement to scroll allows you to "block original input" (click) or not - depending on the state of the checkbox.

Thanks,
Phil

Re: Mouse Movement to Scroll eats the Click!

Posted: Wed Apr 19, 2017 7:59 pm
by camarao69
Good afternoon

Sorry for invading this post.
I started to use x button yesterday and its almost there for what i want.
I to need the original imput but i have a problem the doble click.Is it possible to unblock when there is a doble Click.

Thank you