I am considering beginning a project involving creating a program that reads RGB values from the current monitor display and compares it with a hardcoded RGB value.
I will run a Playstation emulator (a separate program) and then I want to compare the pixels from the game that it is displaying with hard coded values.
Also, I want to know how to write code to say press the UP arrow on the computer while the emulator is in the foreground (i.e. programming combinations of key presses with the Playstation emulator in the foreground, effectively playing the game for me).
Is it possible to do these tasks easily in C++ or Java? Could someone please advise me as to how each of these two things may be accomplished.
I appreciate any responses.