Bluetooth Keyboard help

I am attempting to make it so I can control two characters at once (mainly for one MAME game in particular). Other than the movement keys, I can get player 1 and 2 to simultaneously use the same action with one key. But when I bind both players to the same movement it screws up. Player 1 still operates correctly, but player 2 can only go left. Also, the movement input (that works flawlessly for player 1) also will combine two inputs for player 2; e.g. Left D-Pad will move player 1 and 2 left, but also player 2 will attack once. Going down makes player 1 go down, but player two would only use “the A button”. If I use the actual arrow keys they will function in tandem perfectly, but my brain just doesn’t want to work that way.

Anyone have a way to fix this? The key binds are identical. I have double checked numerous times.