Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

203
Views
Javascript keydown event not working when three keys that form a triangle are pressed

I am currently trying to detect which keys are currently pressed at any given time. Like others have said, I used the keydown and keyup events and log the keyCodes to an object. I also added console.log statements in my keydown and keyup listeners. Currently, everything works well except when three keys are pressed simultaneously in a triangular shape (on a QWERTY keyboard: ["T", "G", "Y"], ["4", "5", "R"], etc.), the keys don't log as expected: either one or two logs, or none of them logs. I wonder if there's a way to get around whatever limitation is causing this?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

this could possibly be a keyboard ghosting which an issue caused by hardware limitations (keyboard),

you should try to test your keyboard here https://www.microsoft.com/applied-sciences/projects/anti-ghosting-demo

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!