Pause when holding down a key

I'm working on controlling a robot for an electrical engineering course, and I'm communicating to the robot via bluetooth and use W, A, S, D to move the bot. The issue I'm running into is when I hold down the W key to move the bot forward, I keep getting a pause in motion from the delay that the keyboard has when it's separating a single key press from a continuous key press. As I'm sure this is a very common issue does anyone have any effective methods for counteracting this?

edit: I do my programming in C and I'm using the Arduino MEGA board for the project.

if newkey == oldkey then disregard it

I have an action associated with a key continue with that till there's a different action and/or I hit the stop key

This involves a teeny bit of hardware hacking which I suggest you not do.

You may have to force the keyboard to send the letter if it is pressed and then see if it has a continuous pressing.