If you're not familiar with the new unity input system, you might want to change support for the old input system in player settings. Then you can just make a script using the old input system. Don't forget to make the background bigger and change the input/output pins locations. (or the input pins will be halfway on the screen)