How do you actually properly set up 2 player split screen?

I’m currently working on a 2 player split screen game but I haven’t of yet been able to find a way to have it set up so that (a) top screen is controlled by mouse/keys (b) bottom screen by Game Pad. I want the screen to be split in the view port too - not in a separate window.

There are a few threads that tried to tackle the problem, but I don’t think they managed to come up with a proper solution and the solution that was provided was really hard to follow anyway.


Does anyone know how to do this? If so, i’d really appreciate a step by step on it!