XMBC Version 2.19.2:
Windows 10:
Mouse Information (brand/model):IBM SK8835:
XMBC is great. I like it very much. I'd like to ask whether the user-defined middle button double-click function can be added in subsequent versions?:
About double clicking with the middle mouse button
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.
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.
-
- New User
- Posts: 4
- Joined: Sat Aug 21, 2021 11:11 am
Re: About double clicking with the middle mouse button
What user defined middle button double click function?
Do you mean to detect a double click as a different button mapping (not likely possible) or do you mean to map the button to double click?
Do you mean to detect a double click as a different button mapping (not likely possible) or do you mean to map the button to double click?
--[ 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)
--[ 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)
-
- New User
- Posts: 4
- Joined: Sat Aug 21, 2021 11:11 am
Re: About double clicking with the middle mouse button
I'm sorry,my English is poor.
Yes,I mean to detect a double click as a different button mapping.
For example. I want to map (Alt+Left) to (double-click the middle button).
Yes,I mean to detect a double click as a different button mapping.
For example. I want to map (Alt+Left) to (double-click the middle button).
Re: About double clicking with the middle mouse button
XMBC can not see double clicks. XMBC uses mouse hooks which does not have any visibility of single/double click. All XMBC sees is "button is pressed", "Button is released" - no concept of double or triple or whatever number of clicks. So not possible in XMBC.
To do this you would have to block the first click until you know if there is a second or third coming (so for > than the double click time as defined in Widnows). Then you would have to re-send the click if its not a double... This is problematic because some programs (esp. games) rejected "injected" input. So to do this at user level (that XMBC runs at) is not going to be very reliable (and an awful lot of complexity). It really needs to be done at a lower level (like in the mouse driver)
Regards,
Phil
To do this you would have to block the first click until you know if there is a second or third coming (so for > than the double click time as defined in Widnows). Then you would have to re-send the click if its not a double... This is problematic because some programs (esp. games) rejected "injected" input. So to do this at user level (that XMBC runs at) is not going to be very reliable (and an awful lot of complexity). It really needs to be done at a lower level (like in the mouse driver)
Regards,
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)
--[ 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)