rcmaehl Posted February 17, 2021 Share Posted February 17, 2021 Hi all, I have a Corsair Scimitar Pro. It's unfortunately succumbed to a common issue. Single Clicks occasionally Double Click. I've attempted to make a small loop to block input directly after a mouse click, however it does not appear to be quick enough. Is there anyway faster than: #include <Misc.au3> While 1 If _IsPressed("01") Then BlockInput(True) Sleep(45) BlockInput(False) EndIf WEnd Perhaps such as setting it as a hotkey and then manually passing the click? Thanks in Advance! My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
rcmaehl Posted February 17, 2021 Author Share Posted February 17, 2021 (edited) Hi all, I have a Corsair Scimitar Pro. It's unfortunately succumbed to a common issue. Single Clicks occasionally Double Click. I've attempted to make a small loop to block input directly after a mouse click, however it does not appear to be quick enough. Is there anyway faster than: #include <Misc.au3> While 1 If _IsPressed("01") Then BlockInput(True) Sleep(45) BlockInput(False) EndIf WEnd Perhaps such as setting it as a hotkey and then manually passing the click? I've tried a few mouse UDFs but they seem even slower than _IsPressed Thanks in Advance! Edited February 17, 2021 by rcmaehl My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
pseakins Posted February 17, 2021 Share Posted February 17, 2021 Get a new mouse or try to get the old one replaced under warranty. argumentum 1 Phil Seakins Link to comment Share on other sites More sharing options...
JockoDundee Posted February 17, 2021 Share Posted February 17, 2021 this may improve performance ever so slightly... #include <Misc.au3> Local $hDLL = DllOpen("user32.dll") While 1 If _IsPressed("01", $hDLL) Then BlockInput(True) Sleep(45) BlockInput(False) EndIf WEnd it looks promising although tbh I’ve been disappointed by only a meager improvement Code hard, but don’t hard code... Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 17, 2021 Moderators Share Posted February 17, 2021 @rcmaehl You have seriously been around too long to be double posting like this. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
argumentum Posted February 17, 2021 Share Posted February 17, 2021 5 hours ago, rcmaehl said: It's unfortunately succumbed to a common issue. Single Clicks occasionally Double Click then is time to get a new mouse Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
rcmaehl Posted February 17, 2021 Author Share Posted February 17, 2021 6 hours ago, JLogan3o13 said: @rcmaehl You have seriously been around too long to be double posting like this. Didn't even realize I did. Shows them both made at 8:54, I think I missed up the edit somehow. My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
Nine Posted February 17, 2021 Share Posted February 17, 2021 55 minutes ago, rcmaehl said: I think I missed up the edit somehow Nah, it is your mouse that double-clicked. Time to change your mouse like someone already suggested. JockoDundee 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
argumentum Posted February 17, 2021 Share Posted February 17, 2021 ..most times, is useless to find a software solution to a hardware problem 😕 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
jchd Posted February 17, 2021 Share Posted February 17, 2021 15 hours ago, pseakins said: Get a new mouse Or replace the failing microswitch. Don't waste hardware! This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
argumentum Posted February 17, 2021 Share Posted February 17, 2021 (edited) 4 minutes ago, jchd said: Don't waste hardware! $180+ hardware. And if you are a bad gamer, no expensive mouse will help you win i know from personal experience Edited February 17, 2021 by argumentum i'm a gamer, bad one too =) FrancescoDiMuro 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
JockoDundee Posted February 17, 2021 Share Posted February 17, 2021 2 hours ago, argumentum said: ..most times, is useless to find a software solution to a hardware problem 😕 or worse than useless.... argumentum 1 Code hard, but don’t hard code... Link to comment Share on other sites More sharing options...
argumentum Posted February 17, 2021 Share Posted February 17, 2021 I say "most times" because, I've done such thing so, Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted February 18, 2021 Share Posted February 18, 2021 (edited) On 2/17/2021 at 12:23 PM, jchd said: Or replace the failing microswitch Edited April 1, 2023 by argumentum removed attachment ( needed space ) wolflake 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
jchd Posted February 19, 2021 Share Posted February 19, 2021 Geez! I was rather thinking about this: argumentum 1 This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
argumentum Posted February 19, 2021 Share Posted February 19, 2021 I knew what you meant, but the pic. was to funny not to share Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now