Author Topic: Testers needed! (input plug-in, touchscreen controls)  (Read 12158 times)

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Testers needed! (input plug-in, touchscreen controls)
« on: March 04, 2013, 11:38:17 PM »
Announcing two great new features that are being added to the app!  It will be great to have lots of testers with a variety of devices to help out!

I've merged both tests into a single APK, so you won't need to install them separately.  Here's a link to the APK:

Input Plugin Test

NOTE: If you've installed an earlier test, you will probably need to uninstall it to avoid a signature conflict.

The first thing we need to test is the brand-new input plug-in that littleguy wrote!  This bad-boy not only cuts out most of the excess code we aren't using from input-sdl, but it also has some awesome new features like Rumble Pak emulated with the vibrator, and pak-switching.

We need to run stress tests on a variety of devices to work out any remaining kinks.  I'll be spreading the word on various other sites, and it would be great if everyone here could give it a whirl and report the results.  And besides, Diddy Kong Racing is a lot more fun with rumble working  ;D

The second thing we need to test is the new system I'm working on for the touchscreen controls.  When you're done testing the input plug-in, please run some tests with the touchscreen controls as well.  The new system does some scaling and layout management based on the screen size in pixels and inches and orientation!

I need to have this tested on a variety of screen sizes to address any problems of incorrectly sized or overlapping buttons.  Please mention your device model (and screen resolution and size if you know)

For now I'm just looking for feedback on control sizes and in particular if there is any button overlap.  Please test in both landscape and portrait modes.  Also, there is a setting to make all buttons visible, in the Touchscreen layout settings.  Please test with it as well as the normal layout (in both landscape and portrait).  Screenshots to demonstrate problems are helpful if you can provide them.
« Last Edit: March 05, 2013, 01:58:58 PM by Paul »
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline WinSuk

  • byte
  • *
  • Posts: 11
    • View Profile
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #1 on: March 05, 2013, 02:06:28 AM »
« Last Edit: March 05, 2013, 02:03:15 PM by Paul »

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #2 on: March 05, 2013, 07:16:32 AM »
You could merge the two branches for the test build, get twice the interest ;)
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #3 on: March 05, 2013, 01:59:37 PM »
You could merge the two branches for the test build, get twice the interest ;)

Great suggestion!  I updated the first post.  ;D

I also merged in the other thread (ended up accidentally deleting WinSuk's first reply, but the useful one is still here)
« Last Edit: March 05, 2013, 02:05:56 PM by Paul »
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #4 on: March 05, 2013, 03:06:19 PM »
Aria in portrait has an overlapping dpad

Nexus 7 in landscape is a little close, but not overlapping

Could you give this one a try?  I have a feeling that the change is too small to make any difference, but I just want to get a fee for how much I need to adjust the numbers to get the desired results:

Touch Controls Test #2

(You'll need to uninstall the previous test first, or it won't install due to a signature conflict)
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline WinSuk

  • byte
  • *
  • Posts: 11
    • View Profile
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #5 on: March 05, 2013, 06:32:59 PM »
Could you give this one a try?  I have a feeling that the change is too small to make any difference, but I just want to get a fee for how much I need to adjust the numbers to get the desired results:

Touch Controls Test #2

(You'll need to uninstall the previous test first, or it won't install due to a signature conflict)

Still overlaps a little. http://dl.dropbox.com/u/1077120/mupentesting/Screenshot_2013-03-05-16-18-09.png

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #6 on: March 05, 2013, 08:35:28 PM »
Great, getting closer.  Give this one a try:

Touch Controls Test #3

I'm back on my home computer, so you'll first have to uninstall the last test to avoid a signature conflict.  Sorry for the hassle!
« Last Edit: March 05, 2013, 08:40:11 PM by Paul »
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline WinSuk

  • byte
  • *
  • Posts: 11
    • View Profile
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #7 on: March 05, 2013, 09:08:03 PM »
No problem :)

No longer overlapping: https://dl.dropbox.com/u/1077120/mupentesting/Screenshot_2013-03-05-18-49-41.png
Really close to Z though... guess there isn't much that can be done about that

Also tested the input plugin for awhile with my 360 controller. Rumble works and I didn't have any problems :)

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #8 on: March 05, 2013, 10:34:17 PM »
So as I mentioned on github, the new version shrinks the controls on my 7" 1280x800 tablet.

Old
http://dl.dropbox.com/u/3899306/Screenshot_2013-03-05-23-23-02.png
http://dl.dropbox.com/u/3899306/Screenshot_2013-03-05-23-22-12.png

New
http://dl.dropbox.com/u/3899306/Screenshot_2013-03-05-23-10-44.png
http://dl.dropbox.com/u/3899306/Screenshot_2013-03-05-23-11-50.png

My personal preference is also to keep exactly the same size in portrait or landscape.  I know you added a 1.5x scale in the code but that's not the exact ratio.  I say just make the scale with respect to the larger of (width, height) so they are the same physical size in either orientation.
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #9 on: March 06, 2013, 01:01:39 AM »
Aha, that's a good idea.
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline Tom.K

  • Green Team
  • long
  • *
  • Posts: 130
    • View Profile
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #10 on: March 06, 2013, 01:47:39 PM »
Crashes on my X10 Mini Pro when launching emulator. Report should've been sent thru app.

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #11 on: March 06, 2013, 01:49:17 PM »
Rgr, I'll take a look
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #12 on: March 06, 2013, 02:05:19 PM »
For some reason it isn't sending the logcat output from your device with the reports, unfortunately.  That said, it looks to be failing when it tries to set the scale for one of the numeral images (which must mean that it failed to load one or more of them for some reason).  Could you try reloading the app resources, then running with and without the FPS indicator visible?

I'll upload another test shortly that should squash the crash when a digit is null (but it won't address whatever the underlying cause for the digit being null)

BTW, I like the value in android.os.Build.MANUFACTURER for the X10 Mini Pro (especially since I work for Ericsson ;D)
Spoiler: Build.MANUFACTURER • show
Sh!tEricsson
« Last Edit: March 06, 2013, 02:15:06 PM by Paul »
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3495
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #13 on: March 06, 2013, 02:29:05 PM »
Ok, this one should (hopefully) not crash.  If it does, I'll take a look at the crash report.  You'll have to uninstall the previous test, since it has a different digital signature

Numeral Crash Test #1
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline Tom.K

  • Green Team
  • long
  • *
  • Posts: 130
    • View Profile
Re: Testers needed! (input plug-in, touchscreen controls)
« Reply #14 on: March 06, 2013, 03:33:44 PM »
For some reason it isn't sending the logcat output from your device with the reports, unfortunately.  That said, it looks to be failing when it tries to set the scale for one of the numeral images (which must mean that it failed to load one or more of them for some reason).  Could you try reloading the app resources, then running with and without the FPS indicator visible?

I'll upload another test shortly that should squash the crash when a digit is null (but it won't address whatever the underlying cause for the digit being null)

BTW, I like the value in android.os.Build.MANUFACTURER for the X10 Mini Pro (especially since I work for Ericsson ;D)
Spoiler: Build.MANUFACTURER • show
Sh!tEricsson


Sorry about that,  it's Custom ROM GingerDX, developed by djnilse and eagleeyetom (< How ironic, that's not me.)
Luckily, I've saved this logcat when it did happen, if it helps: http://pastebin.com/B448xzSU

About further results and testing, you'll have to wait until weekend comes (or when I stop studying).