Mouse Movement to Scroll eats the Click!

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
ziongates
New User
Posts: 11
Joined: Sun Jun 12, 2016 3:44 pm

Mouse Movement to Scroll eats the Click!

Post 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?
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post 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
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
User avatar
injtsvetkov
Fanatic
Posts: 293
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post 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
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: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post 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.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
User avatar
injtsvetkov
Fanatic
Posts: 293
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post by injtsvetkov »

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 »

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 »

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: 293
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post 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
HAMA Mirano
Windows 8.1 x64, Intel i5-3230M @ 2.60GHz, 4GB
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post 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...
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
User avatar
injtsvetkov
Fanatic
Posts: 293
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post 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 :?
HAMA Mirano
Windows 8.1 x64, Intel i5-3230M @ 2.60GHz, 4GB
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post 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
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
User avatar
injtsvetkov
Fanatic
Posts: 293
Joined: Mon Jun 06, 2016 8:51 am

Re: Mouse Movement to Scroll eats the Click!

Post 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 :)
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 »

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: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: Mouse Movement to Scroll eats the Click!

Post 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
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 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 »

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