I machined my brake and clutch pedals so they would pivot under foot. They are much more comfortable this way. I also made the pivots spring loaded so they always return to level and don't rattle.
The spring is retained by a step machined into the bolt running through the pivot.
Cheers