hi, i am wanting to build a usb foot pedal.
I am pretty to new to programming but am keen on learning. There will be two pedals, one moves a page forward and the other backwards. It can work on any program that require a back and forward button such as windows picture viewer to view pictures.
What type of component would be best used in this operation and would it be hard to programme?

thanks