How would one implement KeyListener so that I can create a two-player system where one person uses \'.\' and \'/\' to control a character, and the other person can use the arrow
Create a HashMap that marks which keys are currently pressed/depressed.
HashMap
Then in your game loop, you can move your objects depending on if the keys are depressed in this map.
For example:
if (keyMap.get(VK_COLON) == Boolean.TRUE) //True indicates pressed playerAXPos+= 10;