Touchscreen buttons don't work in Guru Logic game, openMSX Android emulator.

Page 1/2
| 2

By Paulo Volkova

Expert (96)

Paulo Volkova's picture

28-09-2018, 15:26

Hello.

I trying playing the game "Guru Logic (2002)(TeddyWarez)[SCC]" in openMSX Android version, but the touchscreen buttons (on-screen controls: button 1, button 2, etc) don't work inside game, only the on-screen keyboard works.
Someone knows how to configure the emulator or the game to work?
Thank you very much for your attention.

Paulo Volkova

Login or register to post comments

By Manuel

Ascended (14680)

Manuel's picture

28-09-2018, 18:29

Which version are you using and did you try other games like salamander or space manbow?

By Paulo Volkova

Expert (96)

Paulo Volkova's picture

28-09-2018, 21:34

Manuel.

I use the android openMSX versions 0.13.0-144 (cellphone) and 0.14.0-312 (tablet). I tested with the "Salamander", "Space Manbow"and "King's Valley 2" games and the buttons works well.

By Manuel

Ascended (14680)

Manuel's picture

29-09-2018, 00:07

Not related to this problem, but can you also try the very latest development build, please?

By Paulo Volkova

Expert (96)

Paulo Volkova's picture

29-09-2018, 15:54

Manuel,

I tested with the latest version of openMSX Android (0.14.0-362) but the problem remains.

By Manuel

Ascended (14680)

Manuel's picture

29-09-2018, 16:36

I will get back to this. I guess it's the same issue as the game Traffic. It can't handle joystick and cursor key input at the same time.

By Manuel

Ascended (14680)

Manuel's picture

29-09-2018, 21:20

What is going on is the following: this game (Guru Logic by Teddywarez) doesn't work with joystick. And the on-screen-joypad in the openMSX Android port only generates joystick events.

I'm pretty sure that some time in the past it would also generate keyboard events, but apparently it doesn't.

Now, it is possible to make a mapping, i.e. to let these host joystick events be mapped also to cursor key and the needed keyboard trigger events (for this game, SPACE and GRAPH). But that's 12 console commands you'd have to type. Not very nice. I could put it in a script and load that for Android but the problem is that some games require GRAPH (like this one) and others require other keys, like M in Konami games.

About Traffic: that appeared to be an issue with C-BIOS, see https://sourceforge.net/p/cbios/bugs/18/ - so completely unrelated to this.

By Manuel

Ascended (14680)

Manuel's picture

29-09-2018, 21:50

For completeness sake, here are the bindings that would map the host joystick to cursor keys and host joystick button 1 to SPACE and host joystick button 2 to GRAPH:

bind "joy1 button0 down" {keymatrixdown 8 1}
bind "joy1 button0 up" {keymatrixup 8 1}
bind "joy1 button1 up" {keymatrixup 6 4}
bind "joy1 button1 down" {keymatrixdown 6 4}
bind "joy1 axis0 -32768" {keymatrixdown 8 16}
bind "joy1 axis0 32767" {keymatrixdown 8 128}
bind "joy1 axis1 -32768" {keymatrixdown 8 32}
bind "joy1 axis1 32767" {keymatrixdown 8 64}
bind "joy1 axis1 0" {keymatrixup 8 32; keymatrixup 8 64}
bind "joy1 axis0 0" {keymatrixup 8 16; keymatrixup 8 128}

By Paulo Volkova

Expert (96)

Paulo Volkova's picture

30-09-2018, 21:05

I inserted these 10 lines commands in the openMSX (console)
but the buttons still do not work in the game. Only the "start button" works.

By Manuel

Ascended (14680)

Manuel's picture

30-09-2018, 22:29

Well I only tested the buttons on Android, the rest I only tested on pc. Too clumsy to type all that stuff on a phone....

By Paulo Volkova

Expert (96)

Paulo Volkova's picture

01-10-2018, 19:41

Manuel,
It is possible to configure the keyboard arrow keys on the touchscreen joystick?

Page 1/2
| 2
My MSX profile