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

Keyboard Mapping didn't work #448

Open
AnigamerWasTaken opened this issue Dec 26, 2020 · 2 comments
Open

Keyboard Mapping didn't work #448

AnigamerWasTaken opened this issue Dec 26, 2020 · 2 comments

Comments

@AnigamerWasTaken
Copy link

For some reason, when i launch the game, it says that the gamepad/keyboard mapping is missing, so it creates it's own mapping, and the mapping is terrible. I downloaded the launcher on the pop shop, can anyone help?

@ChristopherHX
Copy link
Member

ChristopherHX commented Dec 26, 2020

Do you have problems with your Keyboard and / or a Gamepad? Two different things

Keyboard input not working fine.

make shure to select a normal en-US keyboard layout, not the en-US international keyboard layout which doesn't work
In the settings of your linux distribution.

numpad doesn't work, broken on android too

Are your gamepad button, axes hats swaped?

Create a correct gamepad mapping and open a pull request to https://github.com/gabomdq/SDL_GameControllerDB/

A utility to help creating such a mapping can be found here
https://generalarcade.com/gamepadtool/
create your own mapping and put it into this file
~/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/gamecontrollerdb.txt

The supplied file used by the launcher can be found here https://github.com/gabomdq/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt

If your own mapping is rejected you still get the warning with an sample mapping which was accepted by glfw the window provider

@ChristopherHX
Copy link
Member

Please note the mappings needs to be in ~/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/gamecontrollerdb.txt to be read by the flatpak version.

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

2 participants