I am building a Mortal Kombat game in assembly as an final project. I have problems input keys from 2 users without delay or other crappy things.
I have already tried to use the buffer. However, in the game you need to hold the 'd' button for letting one player move right and in the same time hold the left arrow button to let second player move left. I need to find a way to know if a button is pressed or a button is under hold and to know combination of those two options together.
I need for example let first player move right(by holding the key d) and in the same frames let second player move left(by holding the key left arrow) and jumping(by pressing once at upper arrow key)