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

Enable keyboard in landscape mode on Android #660

Closed
Spreit opened this issue Aug 12, 2018 · 22 comments
Closed

Enable keyboard in landscape mode on Android #660

Spreit opened this issue Aug 12, 2018 · 22 comments
Assignees

Comments

@Spreit
Copy link

Spreit commented Aug 12, 2018

No description provided.

@nesbox
Copy link
Owner

nesbox commented Aug 12, 2018

don't know where to find a place for the keyboard in landscape mode

@noncom
Copy link

noncom commented Aug 13, 2018

Good idea, but, yeah, that's not easy.. Maybe a smaller screen and a different (wider?) keyboard layout would do? An optional mode like that could be interesting.

@hseiken
Copy link

hseiken commented Aug 13, 2018

On screen keyboard would cover up the screen no matter what you do unless you scale down the TIC 80 output. Not to mention, Androids don't have standardized keyboards (for instance, I use Hacker Keyboard) and they take up different real estate on the screen.

The real solution is to use portrait until you get fed up and buy a real keyboard, especially if you're typing because touch keyboards aren't meant for any serious work and suck like a black hole's gravity field.

@noncom
Copy link

noncom commented Aug 14, 2018

@hseiken and that brings me to #671

@hseiken
Copy link

hseiken commented Aug 14, 2018

Which is the more important bug to solve between these two, imo. But I'm not in charge of the show.

@phedoff
Copy link

phedoff commented Dec 16, 2019

It's an old thread, but why not split tic-80's keyboard, put half of it to the left, the editor in the middle of the screen and the other half of the keyboard on the right hand side of the screen? That should work. And one could finally write an uppercase 'a' or 'z' with big thumbs (impossible for at least me to shift-a). 😃

@stevenfelix505
Copy link

If you want to use keyboard in landscape mode, please refer to this link

@BrunoDSL
Copy link

BrunoDSL commented Apr 7, 2021

Currently, I'm running into this issue where TIC-80 crashes when you have an external keyboard connected. If you run it without a keyboard connected, it opens...Only to crash when you connect a keyboard.

@nesbox
Copy link
Owner

nesbox commented Apr 8, 2021

@BrunoDSL what keyboard do you use? thanks

@phedoff
Copy link

phedoff commented Apr 8, 2021

Can't confirm a crash with Logitech K380 (TIC80 0.80.04 (8005)).

Btw: when will a more recent version of TIC80 be available on itch.io? They still have 0.80.03 (8003).

@nesbox
Copy link
Owner

nesbox commented Apr 8, 2021

Btw: when will a more recent version of TIC80 be available on itch.io? They still have 0.80.03 (8003).

The version will be updated after release, 0.90 still in development and we have 85 opened issues https://github.com/nesbox/TIC-80/projects/2

@BrunoDSL
Copy link

BrunoDSL commented Apr 9, 2021

@BrunoDSL what keyboard do you use? thanks

Logitech K230. Also tested with a no-name tablet case keyboard (listed as GAIA USB Keyboard).

@BrunoDSL
Copy link

I was able to test with another phone similar to mine but with a lower Android version (Moto G4 Play running Android 7.1. Mine is running 10) and, external keyboard works there... Except it has to be "up" in landscape mode. If you click the button row to lower it, TIC-80 stops responding to keyboard input. Mouse still works though.

@meyerdg
Copy link

meyerdg commented Apr 30, 2021

I have a Bluetooth keyboard for my tablet, but I can't even use that if I'm in landscape mode. Games will take input but the command line and editors ignore everything.

@phedoff
Copy link

phedoff commented Apr 30, 2021

Is the virtual (android) keyboard visible? Like @BrunoDSL wrote: it has to be up or the kb won't react.

@BrunoDSL
Copy link

Is the virtual (android) keyboard visible? Like @BrunoDSL wrote: it has to be up or the kb won't react.

The way I made the keyboard work is not the best, but it could work until it's updated.
This was tested on the latest version of TIC-80, which you have to download from the releases page, as whoever is in charge of the Android version has not updated the Play Store version yet.

  • Start TIC-80 with the phone in portrait mode.
  • Press Esc to leave out of Surf.
  • You'll see a keyboard icon at the bottom. Tap it.

After you do that, you can turn the phone in landscape mode and it will recognize the keyboard. The landscape keyboard will also appear in case you're not using an external one.

Also, there's the annoyance. Even if you bring the keyboard up using a shortcut, TIC-80 won't respond to any input unless that keyboard icon is tapped.

@phedoff
Copy link

phedoff commented Apr 30, 2021

in 0.90-dev the keyboard works in landscape mode w/o the virtual kb having to be open (start app, tap kb-icon once - virtual keyboard shows up, rotate phone to landscape mode, pressing a key on the bluetooth keyboard makes the virtual keyboard disappear), so it works as desired, maybe you should use this version.

@BrunoDSL
Copy link

in 0.90-dev the keyboard works in landscape mode w/o the virtual kb having to be open (start app, tap kb-icon once - virtual keyboard shows up, rotate phone to landscape mode, pressing a key on the bluetooth keyboard makes the virtual keyboard disappear), so it works as desired, maybe you should use this version.

I don't have a PC I run TIC-80 from and there are no built apks for 0.90-dev. Even if I had a PC, there are no instructions for building the APK.

@phedoff
Copy link

phedoff commented Apr 30, 2021

I too don't have the pro version, because it won't be released until all issues are fixed (see above), but you can get the dev version here if your question was, where to get it from. O_o

@BrunoDSL
Copy link

BrunoDSL commented Apr 30, 2021

in 0.90-dev the keyboard works in landscape mode w/o the virtual kb having to be open (start app, tap kb-icon once - virtual keyboard shows up, rotate phone to landscape mode, pressing a key on the bluetooth keyboard makes the virtual keyboard disappear), so it works as desired, maybe you should use this version.

That's the same as the latest stable and this is the problem. What if you have a device that doesn't have portrait mode? You can never tap that icon. No other app behaves like that. In any other app, the app simply knows you have an external keyboard and responds accordingly.

@phedoff
Copy link

phedoff commented Apr 30, 2021

That's the same as the latest stable and this is the problem. What if you have a device that doesn't have portrait mode? You can never tap that icon. No other app behaves like that. In any other app, the app simply knows you have an external keyboard and responds accordingly.

Yeah, that's indeed a problem, but I didn't even consider that there are devices that don't have a portrait mode.

@nesbox
Copy link
Owner

nesbox commented Jun 29, 2021

8c22d63 changes:

  • hardware keyboard automatically works in the both portrait/landscape modes
  • software system keyboard appears when you tap this button (portrait only)
    image
  • internal TIC keyboard displayed in all other cases (portrait only)

@nesbox nesbox self-assigned this Jun 29, 2021
@nesbox nesbox closed this as completed Jun 29, 2021
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

8 participants