multiple simultaneous key press c#

前端 未结 2 407
离开以前
离开以前 2021-01-19 16:49

I am programming a game in microsoft visual studio c# and I have to catch lot\'s of keys simultaneously. I can\'t detect Q,W,E,R,T,Y at the same time but I can detect Q,W,E,

2条回答
  •  囚心锁ツ
    2021-01-19 16:55

    This is known as key rollover. USB keyboards only support a finite key rollover, whereas some cleverly-designed PS/2 keyboards have n-key rollover (many many keys may be depressed at the same time without muting additional keypresses)

    Have a read: Wikipedia Description

提交回复
热议问题