PDA

View Full Version : Logitech/AST mouse control repeats last command



Ron
October 13th, 2002, 12:55 PM
I don't see this, I'll release the source so you can find the problem. You can find it on the developers page.

Ron
October 13th, 2002, 12:55 PM
Pfff, too long ago. Just check the source. The problem is problably in nec.cpp

Ron
October 13th, 2002, 12:55 PM
Yep that was the bugger.

Here is the recompiled plugin:

http://www.girder.nl/temp/ast.zip

Thanks for the help mechou!!

Ron
October 13th, 2002, 12:55 PM
whoops...

try again

http://www.girder.nl/temp/ast.zip

Ron
October 13th, 2002, 12:55 PM
I made this topic sticky until i find the time to release an updated girder distro.

Ron
October 13th, 2002, 12:55 PM
use the anti-repeat value.

gkour
October 13th, 2002, 12:55 PM
I got the same problem as kalvnhobbz and it is the same for XP and win98SE
the logger plugin gives this in girder 3.2.4, after I have pressed the Volume + button and then use the mouse button, without the automatic mouse move checked,
Dev: 206 9 03:59:03
Dev: 206 270-1 03:59:03
Dev: 206 9 03:59:03
Dev: 206 270-1 03:59:03
Dev: 206 9 03:59:03
Dev: 206 270-1 03:59:02
Dev: 206 9 03:59:02
Dev: 206 270-1 03:59:02

This happens for all the buttons.
Ron has posted the code to the plugin but that would help if I could code! :D If anyone can help out we would be grateful!

gkour
October 13th, 2002, 12:55 PM
Cheers to you both ! :D

gkour
October 13th, 2002, 12:55 PM
Cheers to you both ! :D

mechou
October 13th, 2002, 12:55 PM
Yes, I get this behavior as well. Makes the mouse on the AST remote unusable.

Ron, can you give us a quick summary what's changed in that plugin and Girder 3.1 (my prior Girder install) to Girder 3.2.4 that could cause this change of behavior?? This would at least give me an idea where to start on the source code.

Thanks

mechou
October 13th, 2002, 12:55 PM
Ron,

In IRThread(), line 339 in nec.cpp, your original (on you dl site) has:

} HFunctions.send_event(buffer, NULL, 0, DEVICENUM);

I changed it to:

HFunctions.send_event(buffer, NULL, 0, DEVICENUM);
}
//closing brace should be after function, not _before_

It seemed to work for me. Please look this over and let us know if this is correct and not breaking anything else (as it was just a quick hack...). It's not like I know what I'm doing here...

Thanks

mechou
October 13th, 2002, 12:55 PM
Ron,

Please check your file link. A diff shows your new link has the same exact file as the original ast.dll as distributed in Girder 3.2.4.

I didn't install your new dll since the first thing I did was a diff.

I would also like to express my appreciation and gratitude to Ron for his hard work in creating, maintaining, and supporting Girder.

Thanks

kalvnhobbz
October 13th, 2002, 12:55 PM
The AST remote seems to have an issue with girder so that whenever the center mouse pad is used, it repeats the ir code of the last button pressed several times. This can only be avoided by pressing a button without a command every time before you touch the mouse control.

Is there a way to fix this? There must be, considering that the winamp plugin does not have this problem.

kalvnhobbz
October 13th, 2002, 12:55 PM
it doesn't happen for all the buttons i think. pressing one of the mouse buttons actually stops it...

also, it doesn't happen if the first thing you do after a boot is move the mouse with the mouse pad. that seems to indicate that the software/plugin must store the last command somehow and the problem isn't with the remote... if there was a way to just clear that after every event? unfortunately my coding skills aren't so great either.

Halbarad1891
October 13th, 2002, 12:55 PM
I have the same problem with my AST remote. I downloaded your updated ast.dll file and copied it into my plugins directory, but I'm still having the problem. What am I doing wrong?

Thanks.

Halbarad1891
October 13th, 2002, 12:55 PM
That file fixed it. :D
Thanks a lot!
Hal

MikeP
October 13th, 2002, 12:55 PM
I have a sticky key problem with an AST remote. I'm not sure if it is the same as the problem discussed previously in this thread.

Girder seems to indicate that one press of a button on the remote is sending 6 or 7 codes. So for example, if I create a simple command to launch notepad, I get 6 copies of notepad when I press the assigned button only once!

I am running Girder 3.2.5 pre 11

Thanks in advance...

MikeP
October 13th, 2002, 12:55 PM
Thanks! That worked like a charm.

Infosquawk
October 21st, 2003, 06:05 PM
I'm having the same problem, but the fix, at:

http://www.girder.nl/temp/ast.zip

isn't working anymore.

Any helP?