<resources
><integer name="p_limit">100</integer>
<integer name="screen_max_width">480</integer>
<integer name="sreen_max_height">272</integer>
</resources>
It's done, I hope that help: https://mega.co.nz/#!wxxRCSIS!TyejjnXZ87F14uHfI-XMVBNxhOJ5mosHDTSVh1bQsqI
--
You received this message because you are subscribed to the Google Groups "Cubieboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cubieboard+...@googlegroups.com.
Visit this group at http://groups.google.com/group/cubieboard?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Michal
//config rtpif(SCRIPT_PARSER_OK != script_parser_fetch("rtp_para", "rtp_used", &device_used, sizeof(device_used)/sizeof(int))){pr_err("sun4i_ts_init: script_parser_fetch err. \n");goto script_parser_fetch_err;}printk("rtp_used == %d. \n", device_used);if(1 == device_used){if(SCRIPT_PARSER_OK != script_parser_fetch("rtp_para", "rtp_screen_size", &tp_screen_size, 1)){pr_err("sun4i_ts_init: script_parser_fetch err. \n");goto script_parser_fetch_err;}printk("sun4i-ts: tp_screen_size is %d inch.\n", tp_screen_size);if(7 == tp_screen_size){dual_touch_distance = 20;glide_delta_ds_max_limit = 90;tp_regidity_level = 7;}else if(5 == tp_screen_size){dual_touch_distance = 35;glide_delta_ds_max_limit = 150;tp_regidity_level = 5;}else{pr_err("sun4i-ts: tp_screen_size is not supported. \n");goto script_parser_fetch_err;}
Thanks
Michal
--
You received this message because you are subscribed to a topic in the Google Groups "Cubieboard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cubieboard/aT46xUcg0Xw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cubieboard+...@googlegroups.com.
Visit this group at http://groups.google.com/group/cubieboard.
Thanks
Michal
--
You received this message because you are subscribed to a topic in the Google Groups "Cubieboard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cubieboard/aT46xUcg0Xw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cubieboard+...@googlegroups.com.
Visit this group at http://groups.google.com/group/cubieboard.
--
OK, great, thanks for posting this. I'm out now but I'll try to test it this weekend. Since this is an Android app I don't think it matters but did you test this with a Cubie1 or a Cubie2?
You tested on a small screen so I'm really curious if this works on the 15.6" I was working on
--