Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button highlighting and general gamepad/remote support #54

Open
basxto opened this issue Nov 25, 2024 · 0 comments
Open

Button highlighting and general gamepad/remote support #54

basxto opened this issue Nov 25, 2024 · 0 comments

Comments

@basxto
Copy link

basxto commented Nov 25, 2024

Recently d0db621 added DPAD support, which makes it possible to play the game with just a keyboard, gamepad or remote. But there are issues when one wants to navigate this app that way:

  • The buttons don’t get highlighted or signal in any other way they got focus (Start new game and Continue game)
  • In the first-time tutorial pressing right when the last page is reached does not focus Okay.
    • It’s also possible to connect Next/Okay with KEYCODE_MEDIA_PAUSE (BT remote), KEYCODE_PROG_GREEN (HDMI-CEC remote) and KEYCODE_BUTTON_R1 (gamepad)
    • And Skip withKEYCODE_MEDIA_PAUSE (BT remote), KEYCODE_PROG_RED (HDMI-CEC remote) and KEYCODE_BUTTON_R2 (gamepad)
  • KEYCODE_MEDIA_REWIND (BT remote), KEYCODE_PROG_BLUE (HDMI-CEC remote) and KEYCODE_BUTTON_L1 (gamepad) could trigger undo in addition to C-z, which would make that feature accessible
  • KEYCODE_MEDIA_PAUSE (BT remote), KEYCODE_PROG_RED (HDMI-CEC remote), KEYCODE_BUTTON_R1 (gamepad) and KEYCODE_F5 (keyboard) could trigger restart, which would make that feature also accessible
  • A hamburger menu for games could make undo and restart accessible to remotes that don’t have media buttons, though I don’t know if a remote with menu button but not media buttons exists.
    • It could also be connected KEYCODE_INFO with for remotes who don’t have a menu button.

The special shortcuts for undo and restart aside, this is a general issue with all SecUSo apps. Memo Game, Battleships and DiceGame also work but are hard to play due to the missing highlighting, but highlighting their boards is probably more complicated. Sudoku, Ludo, Checkers and Solitaire don’t seem to have boards that can be navigated with a remote, even though they could be played that way especially Sudoku with a remote that also has number buttons like the remote of waipu.tv 4K Stick or numbers on a keyboard. All other apps at least share the issue with the tutorial after the first start.

Edit: It’s fine on FireTV, but Android TV’s launcher apparently isn’t satisfied with just the mobile 1:1 icons and will only show applications that additionally have a 16:9 banner. Google’s requirements for such banners are listed here: https://developer.android.com/design/ui/tv/guides/system/tv-app-icon-guidelines?hl=de

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant