I want to use my arduino uno as an input device for playing Osu! I want to set my mechanical switches to press Z and X. Can anyone tell me how to code that? I don't know how to program it nor which hole I need to use to connect my arduino and mechanical switches. Is the picture right?
Do I need more parts like Resistors/Diodes/Breadboards and etc. to make this work?