library for Dev Alpha #8

Open
hamlatzis opened this Issue Oct 30, 2012 · 1 comment

Projects

None yet

2 participants

@hamlatzis

I was informed that some games of mine that work perfectly on PlayBook are crashing on Dev Alpha. I haven't had the time to test the information I've found here regarding a similar issue but while reading the code of the library I've found something that struck me.

File: touchcontroloverlay.cpp

method: loadDefaultControls()

int TCOContext::loadDefaultControls()
{
// Create a single 1024x600 touch screen.
Control *control = new Control(m_screenContext,
Control::TOUCHSCREEN, 0, 0, 1024, 600,
new TouchScreenEventDispatcher(m_handleTouchScreenFunc), 0);
control->fill();
m_controls.push_back(control);
return TCO_SUCCESS;
}

it has hard-coded the screen resolution that of the PlayBook. If I'm not mistaken the Dev Alpha device and other newer devices have different resolutions.

So wouldn't that be a problem for someone who is interested in one full screen touch area?

@jnicholl
Open Source Projects member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment