Proposal to add a feature

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 or images until they have at least 4 posts.
Post Reply
Igonik
New User
Posts: 3
Joined: Fri Jun 17, 2011 7:50 am

Proposal to add a feature

Post by Igonik »

Now we can only assign function to single mouse button click. It would be usefull if we can assign different functions for single and double click on mouse button.
For example:
Mouse button 4 single click: Copy (Ctrl + C)
Mouse button 4 double click: Cut (Ctrl + X)

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

Re: Proposal to add a feature

Post by phil »

Hi,

I'm sure I have discussed this with others before and found it was impossible. At mouse hook level, (which is where XMBC operates) it is impossible to determine the difference between double click and single click. And whats more, you would have to wait "double click time" after every click before you can work out if you should send a single click action or a double click action which would delay ever mouse button a significant amount of time, thus making it virtually pointless.


Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Igonik
New User
Posts: 3
Joined: Fri Jun 17, 2011 7:50 am

Re: Proposal to add a feature

Post by Igonik »

Regarding
"you would have to wait "double click time" after every click before you can work out
In common case this is true, but exceptional pairs of operations exists, when single click operation can be performed immediatly after first click and second click operation can be performed after second click:

1. classic windows: first click - select icon; second click - launch icon
2. my example: first click - Copy (Ctrl + C); second click - Cut (Ctrl + X)
or the same: first click - Copy (Ctrl + C); second click - Delete (Delete)

Also we can give to a user following options:
- Check box: Wait for second click befor single click operation performing
- Check box: Do not perform single click operation on double click



Regarding:
"At mouse hook level, (which is where XMBC operates) it is impossible to determine the difference between double click and single click"
May be i do not know something, but i do not understand why if we can hook single click, we could not hook double click. Here https://rapidshare.com/files/4115702760/GlobalHook.zip is Net C# solution where global double click hooking is implemented ( + options mentioned above). In that solution i used http://www.codeproject.com/KB/cs/globalhook.aspx. For running the solution MS Net Framework 2.0 or above is required.

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

Re: Proposal to add a feature

Post by phil »

Thanks,
Im pretty sure the I have tried hooking the double clink in XMBC with no success but I'll take another look when I have some time.

Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Post Reply