Ok.. two things to check/try..
1) Quit Logic Pro and then delete both Logic's prefs and the CS Prefs as described below..
Delete the user preferences
You can resolve many issues by restoring Logic Pro X back to its original settings. This will not impact your media files. To reset your Logic Pro X user preference settings to their original state, do the following:
- Quit Logic Pro
- In the Finder, choose Go to Folder from the Go menu.
- Type ~/Library/Preferences in the "Go to the folder" field.
- Press the Go button.
- Remove the com.apple.logic10.plist file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro X User Manual for details on how to do this. If you are having trouble with a control surface in Logic Pro X, then you may also wish to delete the com.apple.logic.pro.cs file from the preferences folder.
- If you have upgraded from an earlier version of Logic Pro, you should also remove ~/Library/Preferences/Logic/com.apple.logic.pro.
- Restart the computer.
Note: If you cannot find either of these files... you didn't follow the instructions exactly as written 🙂
If that doesn't fix things... download the Midi Monitor from here...
http://www.snoize.com/MIDIMonitor/
Now press the pedal on your keyboard and make a note of what the monitor sees and post up the results here...