Skip to content

SDL uses characters instead of keys #696

Open

Description

@Noofbiz

currently, SDL builds poll the keyboard keys and return the character the key returns. This works if the game is developed on the same keyboard layout, usually qwerty, as the players. But if the players have a different layout, then the keys will end up all over the place. To fix this, in glfw we do keys based on the qwerty keyboard location, so KeyQ represents the top left-most keyboard key, no matter what the layout actually is. We should do this in SDL as well.

Activity

  1. added this to the 1.1 milestone on Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions