Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.
This repository was archived by the owner on Sep 4, 2019. It is now read-only.

library for Dev Alpha #8

@hamlatzis

Description

@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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions