Seems like the BeamNG keyboard input system is not compatible with n-key rollover (NKRO) keyboards. This can be a problem not only with keyboards, but with USB controllers like the Stream Deck, when a few keys need to be pressed at the same time. I did face this problem with the Stream Deck.