Skip to content

Windows 11 input keys issue #18

Open

Description

@GreenSnakeLinux

Hello again,

I'm running on Windows 11 and I have an issue with the example 002-sprite, the input keys from ngdevkit-gngeorc file are not working

Only the following keys are working, and only if do before in the main.c: bios_p1current = bios_p1current >> 4;
up: W (Azerty) should be Z for Qwerty keyboard
down: X
Left: Q (Azerty) should be A for Qwerty keyboard
Right: S

I don't understant why, please help
I want at least the arrow keys working and avoid to touch the source code

Thanks

Activity

  1. dciabrin commented on May 12, 2026

    @dciabrin
    Owner

    Can you try to run this example with a custom keymapping, like for example:

    ngdevkit-gngeo.exe -i build/rom puzzledp --p1control A=K97,B=K115,C=K113,D=K119,START=K49,COIN=K51,UP=K82,DOWN=K81,LEFT=K80,RIGHT=K79,A=J0B0,B=J0B1,C=J0B2,D=J0B3,START=J0B9,COIN=J0B8,UP=J0a3,DOWN=J0a3,LEFT=J0A0,RIGHT=J0A0
    

    It looks like your mappings might be unexpected. And the shift that you're doing forces the code to reacts to buttons instead of directions, which would add fuel to my theory.

  2. GreenSnakeLinux commented on May 12, 2026

    @GreenSnakeLinux
    Author

    Hello, I'm on vacation, I will try next Monday.
    FYI: On my MAC controls are ok.
    And I saw that in config.mk there is a difference:

    # GnGeo config
    GNGEO_GLSL=no on Windows -> yes on MAC
    
  3. GreenSnakeLinux commented on May 18, 2026

    @GreenSnakeLinux
    Author

    It works ! but why those files are not taken into account for the ngdevkit-gngeo.exe parameters ?
    .gngeo/ngdevkit-gngeorc
    emu.mk

  4. dciabrin commented on May 18, 2026

    @dciabrin
    Owner

    I have a hunch that it's a bug in the way I'm building ngdevkit-gngeo for MSYS2, and it's likely that the config file is not read properly.
    I need to verify that on my MSYS2 env to confirm/disprove, will take a bit of time to get to the bottom of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions