Hi,
There is an open source program called AutoHotkey that can convert joystick movements to key presses.
My gaming steering wheel and pedals emulates a joystick with the wheel doing the x-xis and the pedals the y-axis.
Assuming your pedals are operating the y-axis (left 50-100 and right 0-50) then the following script does more or less what you are asking for:
Left pedal rewinds and right pedal full depress Stop, half depress Play You may need to edit the numbers to suit how far you wish to press the pedals for each function.
In theory it is possible to assign more keypresses to each pedal but I am not sure if it is practical to have more than two options per pedal.
-------------------Script------------------------------------
#Persistent ; Keep this script running until the user explicitly exits it.
SetTimer, WatchAxis, 5
return
WatchAxis:
GetKeyState, JoyY, JoyY ; Get position of Y axis.
if JoyY <5 ; Right Full depress
{
Send, {F4} ; Stop
sleep, 500 ; 1/2 second delay to ensure that Right pedal fully up before next GetKeyState
}
else if JoyY < 45 ; Right Half Depress
Send, {F10} ; Play
else if JoyY > 70 ;Left Depress
Send, {F7} ; Rewind
return ; Do nothing.
-----------------------End Script -------------------------------------
Chris