I have an app using Ogre 1.6, OIS (latest), CEGUI 0.6.1.
It works fine in windowed mode on the mac, and in both windowed and fullscreen on Windows.
Running it in fullscreen on the mac, most of the input seems to be lost:
- I get no keypress events
- I get no mouse move events UNLESS I am holding down a mouse button.
The first odd thing is that the lost keypresses are apparently going through to the operating system:
I usually launch by double clicking the app in Finder. My tests for keypresses include pressing Escape (which are having no effect in my app). But when I exit, my Finder window has gone "up" a number of levels equal to the number of times I pressed Escape within my app (this is the usual behavior pressing Esc in Finder).
The really odd thing is that the same built app, in fullscreen, gets all input correctly if I "Run" from XCode (no debugger): no keypresses are lost and mouse moves work as normal.
Initially I was using the OIS version that ships with Ogre dependencies (no idea what version that is). I then downloaded the latest OIS source (1.2), built locally, and tried using the framework produced. Same result with both versions.
I've seen other posts mentioning that "exclusive mode" can be better for fullscreen, but the mac port doesn't seem to support that.
Any ideas how I can fix this, or what might be different when I run from XCode?
I'm pretty new to Mac development.
I'm using buffered input, single threaded app.
OSX 10.5.5, PowerPC, Xcode 3.1.
Thanks - Wally