MrStahlfelge / lightblocks

Falling Lightblocks. Falling block game for Android (Mobile and TV), iOS, Web browsers. Works on desktops, too.
https://www.golfgl.de/lightblocks/
Other
140 stars 15 forks source link

Unable to change keybindings for bluetooth keyboard #38

Closed hyperair closed 3 years ago

hyperair commented 3 years ago

When connecting a bluetooth keyboard to my phone, Falling Lightblocks recognizes the keyboard, but it doesn't show up in the controller config UI, and as a result, I can't change the keybindings.

Through some experimentation, I've found that the following keys work:

I'd like to set up for rotation and space for hard drop, but I'm unable to do that anywhere

MrStahlfelge commented 3 years ago

A hardware keyboard won't show up in the controller configuration as it is no game controller. A third pager in the settings screen appears when the system reports a hardware keyboard, where you can change the key binding.

MrStahlfelge commented 3 years ago

Does that help? If it is the case that you missed the keyboard settings page, maybe others did as well and we should add a hint in the gamepad config.

hyperair commented 3 years ago

Nice, thanks. That worked for everything except binding space to hard drop -- the config appears to alllow it, but nothing happens when I hit the space bar

MrStahlfelge commented 3 years ago

On which platform? Android?

hyperair commented 3 years ago

Yep. The space bar still works for activating menu items, just not for hard drop

MrStahlfelge commented 3 years ago

Ah, interesting. I'll check it, thanks for the clarification!

MrStahlfelge commented 3 years ago

Hard drop problem is a possible dublicate with #39

This issue remains open to add the keyboard configuration hint to the gamepad dialog.