I am having a bit of trouble getting keyboard input to work with a program I am making. I need the "W" key to move a sprite I have made to a specific position. The problem I am having is that I do not know what proper code should be done to make it happen, as I have tried a large bit of different ideas I have seen scattered online to handle input but none of them have worked.
In the Update() of my DirectXFramework class I have this: