i just want to be able to use my
keyboard left&right arrows key to
emulate the current A&D input
This sounds like you just want additional controls for the same input. Perhaps you could describe the desired behaviour in more detail. You want to strafe instead of turn?