If you can find the offset that monitors each button pressed, along with the bytes that correspond to each button, you can in theory create something that does this in the form of a tool (be it through CCAPI, TMAPI, or the new PS3MAPI).
Afaik, each game has this type of button monitoring offset, and if I recall correctly NetCheat comes bundled with a program that helps to find these specific offsets called JokerThatPS3. I haven't messed with that program myself personally, so maybe someone who has can give you more insight...