arduino keyboard

im new to this and i need help i have a Arduino pro micro with the atmega32u4 and i need it program it as a USB foot pedal for when i push one pedal it emulates the n key pressed on my keyboard and when i press another pedal it emulate the alt key pressed on my keyboard

We can’t see your code.

Have you looked in the IDE’s examples, under “09. USB” ?

no im new to it all

Well, how about you try some of the examples, then, when you’ve got a specific query, come back to us?

Where do I find the examples like I said I am completely new to all this and dont know anything

Open the IDE.
Click on “Files”.
Scroll down to “Examples”, go sideways and
Scroll down to “09.USB”