Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating my mouse and keyboard routine.
#9
(Yesterday, 11:34 AM)bplus Wrote: BTW @Pete double clicks from your demo seems like needs work.

@bplus

Aha! You are correct about the multiple click issue. I had a look and what I immediately saw was that _delay .1 I put in on the button flash. That's what is causing it, because it messes with the timer. So if you click off a button, it counts the clicks correctly. Single, double, triple clicks, etc.

I'm not going to change the code unless we find a reason why it matters if a button would ever need a click count. Normally that is reserved things like input lines in text apps, to highlight the words or entire input with a double or triple click.

What I probably should do is disable the click count when a button is clicked.

@SMcNeill

I think we are on the same page. I just track the number of clicks made over time in non-button areas, apparently. The calling procedure deals with results.

+1 to Mark for noticing the click situation, thanks!

Pete
Shoot first and shoot people who ask questions, later.
Reply


Messages In This Thread
Updating my mouse and keyboard routine. - by Pete - 01-21-2025, 05:05 PM
RE: Updating my mouse and keyboard routine. - by Pete - 8 hours ago



Users browsing this thread: 3 Guest(s)