Its called stealth binds. Really not a hard process. So in the button monitoring you'd make up the buttons you want. Like D-PAD down for scrolling. Instead of scrolling we want god mode. So we'd tell it to call a god mode thread.
Originally posted by another user
if(self attackButtonPressed())
{
self godmode();
}
(I know I suck at explaining.. But hopefully that helps a little bit.)