Well actually I gues I could just say what im doing and this would probably help a lot...
I set up my code with the getCursorControl()->setVisible = true or false,
I also added the camera->setInputReceiverEnabled = tue or false.
Ive got the two if commands set up rather much like above but two of them..
mouse1
mouse2
for starting point I just used two keyboard keys, Tab and Space.
When event is true for mouse1
}
if(mouse1){
camera->setInputReceiverEnabled(false),device->getCursorControl()->setVisible(false);
}
When event is true for mouse2
if(mouse2){
device->getCursorControl()->setVisible(true),camera->setInputReceiverEnabled(true);
}
This system works great for a one shot deal lol..
Im so bad in my code stage at this moment that I cant figure out how to set up a way to loop the events ..
if
((event.EventType == EET_KEY_INPUT_EVENT) &&
!event.KeyInput.PressedDown){
switch(event.KeyInput.Key){
case KEY_SPACE:{
return mouse2 = true;
}break;
return false;
}
}
if ((event.EventType == EET_KEY_INPUT_EVENT) &&
!event.KeyInput.PressedDown){
switch(event.KeyInput.Key){
case KEY_TAB:{
return mouse1 = true;
}break;
return false;
}
}
The flow of control is only a one shot deal.. I tried to add while loops and I got compile errors... lol..

Sad .. my coding is like I said not very good .... But you have to work at it in order to figure it out lol..
Basically this enables the active camera in fps and hides the mouse cursor then the other key sets in reverse and gives back the cursor and mouse movement from the fpcamera so that you can click inside of another window... In my case will be the chat client for my game..
The main thing is when I do figure out how to make the system I have now work Ill need to figure out how to use the mouse events and then Id like to see this system work with just one mouse button, The right mouse button..
Clicking one time enables and clicking agian disables...
Im sure the method Im using now will work in a simalar fashon the same way with the mouse events... I was shocked in fact that these values changed on the fly like this, I figured that these two where loaded on start of the engine and stayed that way...
I saw a example that somene else did with this same thing in mind but there code example is huge...? Im sure that with a loop my code here would work just as well...
So with this code and detailed info on what im doing ( I should have just done this in the first place sorry ) I hope that this will help others understand what im tring to get to work...
Thanks for any help..