robertkirkman / sm64ex-coop

SM64 online co-op mod, forked from https://github.com/sm64pc/sm64ex, changes for Android and other open-source UNIX-like platforms
43 stars 14 forks source link

Arrow buttons not responding #1

Closed eros71-dev closed 1 year ago

eros71-dev commented 1 year ago

Describe the bug The arrow buttons don't seem to work.

To Reproduce

  1. Open the game and start hosting.
  2. Pause and disable the Free Camera, the Analog Cam, and Mouse Look.
  3. Go back to the game.
  4. Press the arrow buttons to try to move the camera around. Nothing happens.

Expected behavior The camera should move around and toggle the different zoom options and the head cam.

Screenshots Screenshot_20230103-194846

Platform info:

Additional context I can't confirm 100% but I think the camera was working mostly fine the last time I've compiled the game, around 4~5 days ago, before the button layout was updated.

robertkirkman commented 1 year ago

Hi, I'm sorry for the confusion, and I will leave this issue open until I think of some way to make a change to avoid this confusion. Those arrow buttons in the current default layout (which was requested by users for compatibility with some Lua mods) are actually bound to the actions of the D-Pad

image

and not the C-buttons

image

While the current default camera input is with Analog Mouse Look via a touchpad-like invisible rectangle in the upper right area of the touchscreen.

The real C-buttons can be used with the settings you want, but they are currently disabled in the default layout via the sm64config.txt in a way that might be confusing for users to try changing. I plan to try to make a GUI to allow easily fully customizing the button positions, which should make it easier to choose the settings you want.

robertkirkman commented 1 year ago

OK I have now pushed the first version of my new control positions editing GUI. You can use it to achieve what you're asking for by doing as I do in this quick demo: touchcontrolspositioneditor.webm

Please try it and tell me whether it solves this issue for you, or if the new configuration GUI is too buggy on your device to work yet.