If you play an instrument with keyswitches (like Garritan libraries), you might want to control the keyswitches with the piano pedals.
If you want to do that and use REAPER, the little script below can be of help. It maps the three pedals to the note of your choice.
Click here to download from REAPER repository.
After downloading put in the Effects folder of the REAPER application directory.