![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Good idea for Coolj's and Ketchup's screenshot plugin. within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; The people say that want different combination buttons. Reading a configuration file, would be good for alternate the combination buttons. ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
The people say that want different combination buttons.
Reading a configuration file, would be good for alternate the combination buttons. The code would be this more or less : Code:
char input_text[2];
void read_configfile(const char *configfile_path)
{
char line[2];
int result;
FILE *myfile = fopen(configfile_path, "r");
sprintf(input_text, "%s", fgets(line, 2, myfile));
fclose(myfile);
}
int main blablablalba {
...
read_configfile("screenshot_configfile.txt"); // For example.
if((pad.Buttons & PSP_CTRL_RTRIGGER) && (strcmp(input_text, "1") == 0))
{ // code... }
}
Is a idea for Coolj and theKetchupMan. Greetings. EDIT : Ketchup had done it. Good work ketchup and coolj. Last edited by becus25; 09-27-2007 at 10:29 AM.. |
|
|
|
|
|
#2 | |
![]() |
Quote:
|
|
|
|
|
![]() |
| Tags |
| coolj , good , idea , ketchup , plugin , screenshot |
| Thread Tools | |
|
|