device orientation on windows

Hey all,

I need help setting up portrait mode on windows. I’m using v2.1.3 and setDeviceOrientation is not defined in CCDirector.
I’ve tried forcing EGL View’s frame size to a portrait resolution (768x1024) but it’s causing my input to return incorrect values.

Does anyone have any suggestions?

Thanks,