1. Marianne Gagnon
  2. wxMupen64Plus
  3. Issues
Issue #57 new

[OSX Cocoa] Input issues

Marianne Gagnon
repo owner created an issue

Keyboard bindings editing doesn't work on OSX Cocoa

Comments (12)

  1. Marianne Gagnon reporter

    OK after more testing there is no problem with wxGetKeyState, it's only the Command thing. So current state :

    1. gamepad input doesn't work in-game when using Cocoa
    2. no key up events are generated for keys pressed/released in combination with Command so Command should not be used in key bindings.
  2. Marianne Gagnon reporter

    Actually... red herring. My gamepad config was incorrectly marked as a keyboard config.

    So what's left : no key up events are generated for keys pressed/released in combination with Command so Command should not be used in key bindings.

  3. Marianne Gagnon reporter

    Actually : the problem is wider than just command, I've also had issues with Alt and Control.

    So status :

    1. Command, Alt and Control keys can't be held down, they get released immediately
    2. Any key pressed at the same time as Command (and maybe Control/Alt) will not receive Key-up events
  4. Marianne Gagnon reporter

    status :

    1. Command, Alt and Control keys can't be held down, they get released immediately. The reason is that wxGetKeyState returns false for those keys. However 'wxGetKeyState' works just fine in a sample project I created. So there would be some interference, maybe from SDL? Also important to note is that the default bindings use control
    2. Any key pressed at the same time as Command will not receive Key-up events
  5. Log in to comment