SetOrientation was only supported for OGRE 1.7. You'll see that we transform the touch coordinates somewhere in the sample code(not sure where it is right now). You may need to do the same.
// Variation based upon device orientation for use with a view controller
void AdvancedOgreFramework::transformInputState(OIS::MultiTouchState &state)
{
int w = m_pRenderWnd->getViewport(0)->getActualWidth();
int h = m_pRenderWnd->getViewport(0)->getActualHeight();
int absX = state.X.abs;
int absY = state.Y.abs;
int relX = state.X.rel;
int relY = state.Y.rel;
state.X.abs = w - absY;
state.Y.abs = absX;
state.X.rel = -relY;
state.Y.rel = relX;
}
void AdvancedOgreFramework::transformInputState(OIS::MultiTouchState &state)
{
int w = m_pRenderWnd->getViewport(0)->getActualWidth();
int h = m_pRenderWnd->getViewport(0)->getActualHeight();
int absX = state.X.abs;
int absY = state.Y.abs;
int relX = state.X.rel;
int relY = state.Y.rel;
state.X.abs = absY;
state.Y.abs = h - absX;
state.X.rel = relY;
state.Y.rel = -relX;
}