-
Notifications
You must be signed in to change notification settings - Fork 76
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
Unable to use the space bar when there's a CPC_JOYSTICK_DIGITAL attached #67
Comments
Yeah that's the case when the "keyboard joystick emulation" is active (which is enabled by calling The "routing" happens here in Lines 663 to 695 in c011ef1
...the idea of this "either / or routing" is that pressing the space or arrow keys shouldn't feed both keyboard and joystick input on the same keys. There's a second way to feed joystick input into the emulator via the Lines 707 to 710 in c011ef1
...normally this is intended for the case the there's an actual joystick or gamepad attached to the host machine. But in general: you should just disable/ignore the "keyboard joystick emulation" by not setting the joystick type via PS: I realize now that all those function names could be a bit more intuitive ;) |
I get it know, thanks for the detailed explanation. |
In
cpc_key_down/up
, if there's aCPC_JOYSTICK_DIGITAL
, the space key will be converted to the joystick buttonCPC_JOYSTICK_BTN0
, making it impossible to produce a space in the emulator.I'd love to submit a PR but I have zero knowledge about the CPC and am unsure what the fix would be.
The text was updated successfully, but these errors were encountered: