Help needed with Android port of OpenMSX!

Page 4/4
1 | 2 | 3 |

By Manuel

Ascended (16962)

Manuel's picture

09-09-2020, 18:57

Great, the sooner I can give feedback about the suggestions to the person who gave them, the better Smile

By wbahnassi

Expert (118)

wbahnassi's picture

01-10-2020, 04:48

Latest update:

  • Spent quite some time trying to activate a different SDL audio driver on Android to no avail. Looking at the SDL2 code, in fact I'm not sure how even it could work. Anyways, it was taking too long and I wasn't making any progress, so I decided to leave it for a later run.
  • Touch input events implemented and exported to TCL in an easy to use way (fingers mapped to 0,1,2,3 instead of random guids). A limit of 5 concurrent fingers can be tracked (let me know if it's a problem, it's just a constant).

Next step is an OSD joystick implementation, and supporting touch for menus etc. I spent some time reading about TCL since I never knew about this scripting language before. Hopefully I can build the joystick without much trouble.

Cheers!

By Manuel

Ascended (16962)

Manuel's picture

01-10-2020, 07:37

The multi touch stuff could already be ported to the master branch. I'd be interested to do that.

Did you talk to the people on #SDL about the sound driver?

By wbahnassi

Expert (118)

wbahnassi's picture

01-10-2020, 19:53

Manuel wrote:

The multi touch stuff could already be ported to the master branch. I'd be interested to do that.

You will want to get those two commits from my sdl2-android branch:
fcb76ae2be00ffb2f0b454c364dabe19f20e512b
8a9435b048b7f9ab040695cfd04103caa6bb8c91

Manuel wrote:

Did you talk to the people on #SDL about the sound driver?

I tried once a while ago and didn't get a response then, so yeah.. gotta follow up on this for sure. I also tried modifying the SDL2 code to force the use of the ES audio driver but I failed miserably with a sea of compiler and linker errors... so I'm gonna revisit this after I'm done with the multitouch controls thing... at least then I can fully interact with the games on openMSX on Android.

Page 4/4
1 | 2 | 3 |