Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating my Mouse/Keyboard/Buttons/Fields routine.
#9
(01-22-2025, 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
RE: Updating my mouse and keyboard routine. - by Pete - 01-22-2025, 06:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to manage with efficacy the mouse input... TempodiBasic 9 745 11-22-2025, 05:14 PM
Last Post: TempodiBasic
  Hardware images for buttons,popups and inputboxes: an insane way? TempodiBasic 2 605 04-06-2025, 07:19 AM
Last Post: TempodiBasic
  Thinking about updating _KEYHIT in the wiki... Pete 0 495 08-17-2024, 02:12 AM
Last Post: Pete
  read 2 or more USB mice on one PC - fully working with keyboard input madscijr 2 1,105 06-16-2024, 01:48 AM
Last Post: madscijr
  Another magnification routine (UPDATED) TerryRitchie 6 1,457 04-19-2024, 06:32 PM
Last Post: TerryRitchie

Forum Jump:


Users browsing this thread: 2 Guest(s)