-
Notifications
You must be signed in to change notification settings - Fork 168
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
Run-native under Linux: lots of buttons don’t work, and some undocumented ones do #620
Comments
Hi, thanks for flagging this!
The native runtime doesn't currently listen to keys for players 3 and 4, but it should be easy to add.
Some of these undocumented keys are actually to support Dvorak and German keyboards, as it looks like minifb has a limitation of not being able to map to a physical key location. If you'd like to help with a PR, the source is here: wasm4/runtimes/native/src/backend/window_minifb.c Lines 27 to 72 in b3d390f
|
According to the documentation, there should be a full set of keys for the first three players on a single keyboard. However, using
w4 run-native
on Linux, key input seems to violate the documentation in the following ways:Also, according to this page, there should be a bunch of hotkeys that do things in the emulator. None of them appear to do anything.
This is all tested with version 2.5.4, which was the version I got by downloading the Linux ZIP file here. I’m using an ordinary QWERTY keyboard (albeit one with NKRO), and Xorg.
The text was updated successfully, but these errors were encountered: