Please, in future, use Input.getaxis("Horizontal") Not only is it easier to code with, it has built in controller support, and built in keyboard mapping support.
I couldn't have fun with this till I manually remapped my keys from razer synapse, It just caused a mental barrier that was too harsh.