Please fill in this template when posting!
XMBC Version: 2.20.5
Installed or Portable version:Installed
Windows Version: Windows 10 Professionnal
Mouse Information (brand/model): RZ01-03850
Relevant Computer Information (CPU, RAM etc): Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz 2.11 GHz
How long have you used XMBC?: a week
Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:
Hi all,
First, I want to apologise in advance for my very bad english.
I want also to thank Phil for this software that is really great and very useful.
Secondly, I apologize for my lack of proficiency in using it, as there is no community around to discuss it
I encountered two problems while writing a requirement:
'I want to implement an operation that allows me to long press the left mouse button and continuously slide to the right during this period', similar to the effect of constantly rotating the screen and firing in a game
When I was writing, I chose to use the mouse side keys for mapping, and press the sticky keys repeatedly until they are pressed again
But I encountered two problems while writing it
1.When I use {MADD: 2000,0}, it does indeed rotate continuously but there is a certain interval. I think it is caused by the interval of repeated instructions, so the effect is not as good as when I keep moving the mouse with my hand
2.When I combine continuous scrolling and long pressing the left mouse button together, I want them to start at the same time, but I don't know how to write them
Thanks a lot,
Best regards,
Regarding the issue of the mouse continuously sliding
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.
Re: Regarding the issue of the mouse continuously sliding
Whilst you can adjust the interval of the repeat, before 2.21 beta, it is limited by using Windows timers, where the repeat rate is no less than about 30ms. In 2.21 Beta (something) this was changed to use Windows High Precision timers to improve accuracy in low latency repeat timers, so the first thing to try, is use the latest beta which you can find here.
Im not sure quite what you mean by combining long press and the left button - do you mean in the "button held" action? You cant start the "long" press action until the long press timer has expired, because how do you expect XMBC to know if its a long press or not until that timer has been reached?! but you may be able to do this with a single repeating simulated keystroke command with method 6 [repeat] (not using "button held" at all) with something like: {OD}{PRESS}{LMB}{MADD: 2000,0}{OU}{RELEASE}{LMB} maybe? (NOTE: I haven't actually tried this, just going from memory!)
I'd like to think this forum is a bit of a community, as is the discord server, admittedly is a fairly small community in the grand scheme of things but XMBC is still quite a niche thing!
Im not sure quite what you mean by combining long press and the left button - do you mean in the "button held" action? You cant start the "long" press action until the long press timer has expired, because how do you expect XMBC to know if its a long press or not until that timer has been reached?! but you may be able to do this with a single repeating simulated keystroke command with method 6 [repeat] (not using "button held" at all) with something like: {OD}{PRESS}{LMB}{MADD: 2000,0}{OU}{RELEASE}{LMB} maybe? (NOTE: I haven't actually tried this, just going from memory!)
I'd like to think this forum is a bit of a community, as is the discord server, admittedly is a fairly small community in the grand scheme of things but XMBC is still quite a niche thing!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
Re: Regarding the issue of the mouse continuously sliding
Hello,thank you for your prompt response. After that, I made an attempt
I would like to ask how to configure a method that can continuously move the mouse to the right while clicking the left mouse button.
Even though I downloaded the latest beta version, the problem still exists, mainly due to the inconsistency of functions caused by system issues during configuration
I think when using {MADD}, for example, when it moves 2000 pixels, it will be completed instantly, so repeating this function after completion will have a systematic interval, resulting in overall lag and inconsistency. I want to know if there is a way to adjust the speed of mouse movement, such as how many pixels it moves per second, so that I can set it to {MADD: 20000,0, 'This is speed'} to solve this problem
I would like to ask how to configure a method that can continuously move the mouse to the right while clicking the left mouse button.
Even though I downloaded the latest beta version, the problem still exists, mainly due to the inconsistency of functions caused by system issues during configuration
I think when using {MADD}, for example, when it moves 2000 pixels, it will be completed instantly, so repeating this function after completion will have a systematic interval, resulting in overall lag and inconsistency. I want to know if there is a way to adjust the speed of mouse movement, such as how many pixels it moves per second, so that I can set it to {MADD: 20000,0, 'This is speed'} to solve this problem
Re: Regarding the issue of the mouse continuously sliding
That is not possible. MADD simply adds 2000 pixels and moves the cursor immediately, in a single call, using the SetCursor API. The only way to do it in smaller increments would be to repeat smaller {MADD} commands. But Im surprised that has any effect in any case, as it sets the windows mouse cursor position (which I would think would be largely ignored by games/full screen apps that I would expect to keep track of the cursor position independently from Windows (I guess that's what your targeting). Still if it does work at all, I guess that's still a possibility (smaller {MADD} steps)?
Bear in mind that XMBC is a hobby, I am not on the forums (or discord) *all the time* so sometimes it takes a little while to respond!
Bear in mind that XMBC is a hobby, I am not on the forums (or discord) *all the time* so sometimes it takes a little while to respond!

--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
Re: Regarding the issue of the mouse continuously sliding
Thank you very much for your reply.
I will try other methods and look forward to the new version.
It is still a very useful software
I will try other methods and look forward to the new version.
It is still a very useful software
