usb page turner foot pedal?

i have a foot pedal for my yamaha keyboard with a 1/4" jack at the end of a cable; i want to connect it to my laptop to turn pages while i am playing music; as you all know laptops dont have 1/4" audio inputs; could any one please describe a way to connect the pedal to the usb port? i have the software for the laptop to recognise whether the pedal is on or off; usb cables have 4 wires, two for data and two for power; i am assuming that i would have to use the power lines for this since the pedal is simply a switch; any info/help would br highly appreciated
thank you

orksecurity6 years ago
Simplest possible solution might be to gut a mouse and hook its button inputs to a pair of switches. Many "slide show" programs are already set up to recognize those as page forward and page back.
Rob3116 years ago
Just do this: but connect the right arrow (or what ever button changes the page) to a 1/4 inch port. you will end up sacrificing a computer keyboard, but its the cheapest way.
Not really possible, without more hardware. You can't connect a switch to USB.
What software have you got ?