I am developing a kiosk mode application for OSX. In some cases, a different screen is connected. My application runs in full screen on one screen using:
[self.window.contentView enterFullScreenMode:s withOptions:[NSDictionary dictionaryWithObject:appOptions forKey:NSFullScreenModeApplicationPresentationOptions]];
The following options are possible:
[NSNumber numberWithUnsignedInt:(NSApplicationPresentationHideMenuBar| NSApplicationPresentationHideDock| NSApplicationPresentationDisableHideApplication| NSApplicationPresentationDisableProcessSwitching| NSApplicationPresentationDisableAppleMenu)];
I want to limit the mouse cursor to the screen on which the game is running.
How can i do this?
source share