Touch profile compatible with other devices if only resoluti

Sharing of touch profiles for games and apps according to screen resolution
RmatriX1218
Posts: 7
Joined: Fri Feb 08, 2013 9:49 am

Touch profile compatible with other devices if only resoluti

Post by RmatriX1218 »

I am currently having MK808 with finless 1.6 ROM. Resolution is 1920x1020 (I guess).

Very few readily available touch profile for this resolution.

Can I pick touch profile of any other device and simply change resolution value as per my device, will it work?
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Touch profile compatible with other devices if only reso

Post by zulu99 »

no . you must make a new touch profile for devices with different screen size.

And your screen size is 1920x1080 and not 1920x1020
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
RmatriX1218
Posts: 7
Joined: Fri Feb 08, 2013 9:49 am

Re: Touch profile compatible with other devices if only reso

Post by RmatriX1218 »

Thanks for reply.
Ya, 1020 was typo error.

After posting, I just realized it is not possible as all the values in setting is in absolute.
But was just wondering if those can be made in percentage, than simply changing resolution will change everything.
Example,
in buttons setting,
"final absolute x" = "percentage x" multiply "resolution x"
"final absolute y" = "percentage y" multiply "resolution y"
same for radius etc.

I guess "percentage x" and "percentage y" for particular profile will remain same irrespective of resolution. So, ultimately simply changing new x and y resolution will remap all buttons. This device resolution can be input in client itself.

Your coding to create touch profile and read touch profile can be revised.
If this is possible, all touch profile once created will be universal touch profile working for all devices.

<Edit>
All above my thinking assumes that images inside games are automatically resize to fit resolution.
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Touch profile compatible with other devices if only reso

Post by zulu99 »

the android games not work in this mode. you can't use percentage. many games have different images for different screen size. the best solution to be precise is with real absolute position that you see in your monitor.

The touch profile is a simple xml file that you can edit also on your phone manually with a text editor. You must look at wich position you want to add the button and write the coordinates in the xml file.

i have a suggestion for you if you can't run the app touch profile creator. in your hdmi stick enable pointer location in Developer options and you can see the screen coordinate of the position of an element.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
RmatriX1218
Posts: 7
Joined: Fri Feb 08, 2013 9:49 am

Re: Touch profile compatible with other devices if only reso

Post by RmatriX1218 »

Thanks for clarification...
I'll try that way also.
RmatriX1218
Posts: 7
Joined: Fri Feb 08, 2013 9:49 am

Re: Touch profile compatible with other devices if only reso

Post by RmatriX1218 »

One correction,
When I checked under developer options, screen resolution is 720 not 1080.
Device: SS808/MK808
ROM: Finless ROM 1.6 for MK808
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Touch profile compatible with other devices if only reso

Post by zulu99 »

Yes sure. many android hdmi sticks, say 1920x1080 but in reality your screen resolution is 1280x720.

the best way to know your exact resolution is to take a screen-shot and read the screen dimension or with an hardware info tool.

with a custom kernel 1920x1080 you have a real screen dimension of 1920x1080
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto