Now that Wikipedia knows what a key rollover is, what should I do if I want to recognize three or more keys, saying that I can't actually detect three or more keys at the same time?
I often see games with multiple keys as a single command on the team and web, but I have never seen a warning that only three or more keys can be used in the game's compatible environment.
So I thought I could do something about it, but would the software be able to do it?
A three-key rollover simply means that an unpressed key appears to have been pressed (a signal is entered at the hardware level).
Example: Pressing keys 1, 2, and 3 at the same time may result in a combination that appears to have pressed key 4 that is not pressed (it is impossible to use software as it signals on hardware).
To avoid this, additional parts are required on the keyboard hardware (cost increase), but SHIFT
and Ctrl
which are supposed to be pressed simultaneously with other keys contain parts (one diode) from the beginning.
In terms of game design, it's all right if you don't assign any functions to this key 4.In other words, you just have to ignore all the input except the key that you should notice, such as moving or firing, so you don't need any special warning or any special action from the software side.
n Key rollover refers to the physical specifications of the keyboard.
The answer is to replace the gaming keyboard with an 8-key rollover.
# Yasmon keyboards are all 2 keys
Well, Shift and Ctrl keys are separate, so this key doesn't count.
Also, even if you say 2 keys, you can definitely recognize at least 2 keys, so depending on the combination, you may be able to recognize 3 or 4 keys
As stated in the Wikipedia article, the USB HID protocol supports up to 6 keys at the same time, so if you have up to 6 keys, you will be asked to specify the keyboard specifications you need, or if you have any questions, replace/buy more keys.
Mr. @774RR · Mr. @Wai As you can see in the answer, this is a hardware specification issue, and I think the advertising phrase "gaming keyboard" and the product field have been established.
All you have to do is assume that there are 6 keys pressed at the same time.
If you need to press more keys at the same time, you should give up the keyboard and support the gaming controller.
It seems to support up to 128 DirectInputs for Windows and up to 10 Xinputs for Xbox.
The following articles, including keyboards, will be helpful.
Look it up before you buy a game pad - how to choose a gaming device you'll find out
I can't change the game or keyboard because it's fixed, but in the meantime, can you let me get something in and deal with it? If you are thinking that, you may need to do something about the USB HID device driver stack.
However, just as Windows requires a digital signature on the device driver, it's a high hurdle to do something out of personal interest.You won't be able to expect cost-effectiveness even at work.
"If you dare to go that way, please try to find a professional (or place) like that and do your best."
© 2024 OneMinuteCode. All rights reserved.