I have upgraded the board - please let me know if you have any problems

XMBC keep repeating keys while the button no longer down

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Post Reply
andayuna
New User
Posts: 4
Joined: Sat Feb 18, 2017 12:31 am

XMBC keep repeating keys while the button no longer down

Post by andayuna » Sat Feb 18, 2017 12:40 am

So i did this simulated key "rtf" "Repeatedly while the button is down",and set "Delay between simulated keystrokes" to 60. But XMBC keep repeating keys while the button no longer down. Tried on the latest version as well as v2.13.1

So how do i set XMBC to actually stop repeating keys when the button no longer down?

Edit: tried different mouse as well

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

Re: XMBC keep repeating keys while the button no longer down

Post by phil » Sat Feb 18, 2017 12:43 am

Sounds like that could be a bug. I will see if I can reproduce that here (prob. tomorrow) and take it from there. It may be useful if you could enable debug logging - repeat the problem and then send me the log - but you could wait until Ive checked it here first!
--[ 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)

andayuna
New User
Posts: 4
Joined: Sat Feb 18, 2017 12:31 am

Re: XMBC keep repeating keys while the button no longer down

Post by andayuna » Sat Feb 18, 2017 1:05 am

Thanks for the quick reply, here's the log

Code: Select all

https://drive.google.com/open?id=0BwcloyM4eG4EZWxTdHhyQlFlM28

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

Re: XMBC keep repeating keys while the button no longer down

Post by phil » Sat Feb 18, 2017 1:11 am

Thanks, that is interesting...
Sim keys works in another thread, it looks like lots have been sent but not actually executed until after the button is up....

Does it stop eventually, or continue for ever? If it stops eventually, then I wonder if the rate that the keys are sent is too high, and they carry on after the button is released?

Thats a possibility, and the "simple" solution would be to flush the sending thread when the button is released - sounds simple but it may not be quite that easy :)
--[ 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)

andayuna
New User
Posts: 4
Joined: Sat Feb 18, 2017 12:31 am

Re: XMBC keep repeating keys while the button no longer down

Post by andayuna » Sat Feb 18, 2017 1:20 am

It stops eventually. for example, when i press the button for 2 seconds, the keys will repeat for around 4 seconds. and this can't be interrupted. If i switch window to another program, the process will still continue, even if i set XMBC specifically to notepad++.

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

Re: XMBC keep repeating keys while the button no longer down

Post by phil » Sat Feb 18, 2017 1:22 am

OK so it sounds like the thread sending the keys continues ti run all those stuffed in keys.
If you increase the time between sending it may help, but to fix it properly will be a code change.

I'll add it to the todo list for the next beta but that's on hold for a bit while I try to renew my signing certificates!
--[ 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)

andayuna
New User
Posts: 4
Joined: Sat Feb 18, 2017 12:31 am

Re: XMBC keep repeating keys while the button no longer down

Post by andayuna » Sat Feb 18, 2017 1:39 am

i set auto repeat delay to 250ms, and it solve my problem. also currently using the portable version.

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

Re: XMBC keep repeating keys while the button no longer down

Post by phil » Sat Feb 18, 2017 1:41 am

OK good to know, I'll still see if I can do something about it :)
--[ 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)

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests