Mouse Movement to Scroll eats the Click!

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
ziongates
New User
Posts: 11
Joined: Sun Jun 12, 2016 3:44 pm

Mouse Movement to Scroll eats the Click!

Post by ziongates » Sat Sep 17, 2016 8:01 am

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?

User avatar
phil
Site Admin
Posts: 5195
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post by phil » Sun Sep 18, 2016 5:34 pm

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
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

User avatar
injtsvetkov
Fanatic
Posts: 228
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post by injtsvetkov » Tue Sep 20, 2016 9:04 am

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
Last edited by injtsvetkov on Tue Sep 20, 2016 1:18 pm, edited 2 times in total.
HAMA Mirano
Windows 8.1 x64, Intel i5-3230M @ 2.60GHz, 4GB

User avatar
phil
Site Admin
Posts: 5195
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post by phil » Tue Sep 20, 2016 9:53 am

Yes I like that idea.... A bit more work but easier to understand :)
It will still probably wait till after 2.14 is released.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

User avatar
injtsvetkov
Fanatic
Posts: 228
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post by injtsvetkov » Tue Sep 20, 2016 1:16 pm

Nice :), plus the commands list will become a bit shorter.
HAMA Mirano
Windows 8.1 x64, Intel i5-3230M @ 2.60GHz, 4GB

ziongates
New User
Posts: 11
Joined: Sun Jun 12, 2016 3:44 pm

Re: Mouse Movement to Scroll eats the Click!

Post by ziongates » Fri Sep 30, 2016 2:18 pm

It's about functionality, scrolling requires a click THEN drag, users may still need their regular click functionality in addition to the scroll override.

ziongates
New User
Posts: 11
Joined: Sun Jun 12, 2016 3:44 pm

Re: Mouse Movement to Scroll eats the Click!

Post by ziongates » Fri Sep 30, 2016 2:21 pm

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.

User avatar
injtsvetkov
Fanatic
Posts: 228
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post by injtsvetkov » Fri Sep 30, 2016 8:25 pm

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
HAMA Mirano
Windows 8.1 x64, Intel i5-3230M @ 2.60GHz, 4GB

User avatar
phil
Site Admin
Posts: 5195
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post by phil » Sat Oct 01, 2016 3:36 pm

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...
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

User avatar
injtsvetkov
Fanatic
Posts: 228
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post by injtsvetkov » Mon Oct 03, 2016 3:41 am

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 :?
HAMA Mirano
Windows 8.1 x64, Intel i5-3230M @ 2.60GHz, 4GB

User avatar
phil
Site Admin
Posts: 5195
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post by phil » Mon Oct 03, 2016 10:56 am

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
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

User avatar
injtsvetkov
Fanatic
Posts: 228
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post by injtsvetkov » Mon Oct 03, 2016 1:51 pm

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 :)
HAMA Mirano
Windows 8.1 x64, Intel i5-3230M @ 2.60GHz, 4GB

zorglups
New User
Posts: 1
Joined: Mon Jan 23, 2017 2:11 pm

Re: Mouse Movement to Scroll eats the Click!

Post by zorglups » Mon Jan 23, 2017 2:40 pm

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

User avatar
phil
Site Admin
Posts: 5195
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post by phil » Mon Jan 23, 2017 9:07 pm

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
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

camarao69
New User
Posts: 3
Joined: Wed Apr 19, 2017 5:47 pm

Re: Mouse Movement to Scroll eats the Click!

Post by camarao69 » Wed Apr 19, 2017 7:59 pm

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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 7 guests