{"action":"opened","issue":{"url":"https://api.github.com/repos/cxong/FallingTime/issues/23","repository_url":"https://api.github.com/repos/cxong/FallingTime","labels_url":"https://api.github.com/repos/cxong/FallingTime/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/cxong/FallingTime/issues/23/comments","events_url":"https://api.github.com/repos/cxong/FallingTime/issues/23/events","html_url":"https://github.com/cxong/FallingTime/issues/23","id":376360010,"node_id":"MDU6SXNzdWUzNzYzNjAwMTA=","number":23,"title":"Player 2 controls image can't be localized for AZERTY keyboard","user":{"login":"akien-mga","id":4701338,"node_id":"MDQ6VXNlcjQ3MDEzMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T11:46:52Z","updated_at":"2018-11-01T11:46:52Z","closed_at":null,"author_association":"NONE","body":"On AZERTY keyboard, <kbd>Q</kbd> and <kbd>A</kbd> are swapped (WASD -> ZQSD). SDL2 handles this nicely so the player 2 can be controlled with <kbd>Q</kbd> and <kbd>D</kbd> as expected.\r\n\r\nThe problem is that the main menu image showing the player 2 controls is, well, an image, so it can't take this mapping into account: https://github.com/cxong/FallingTime/blob/master/data/graphics/keyboard1.png\r\n\r\nThe fix would be to use sprites without the letter, and to put a label on top of them with the proper remapped key given by SDL2."}}
{"actor":{"display_login":"akien-mga"}}