{"action":"created","issue":{"url":"https://api.github.com/repos/reicast/reicast-emulator/issues/769","labels_url":"https://api.github.com/repos/reicast/reicast-emulator/issues/769/labels{/name}","comments_url":"https://api.github.com/repos/reicast/reicast-emulator/issues/769/comments","events_url":"https://api.github.com/repos/reicast/reicast-emulator/issues/769/events","html_url":"https://github.com/reicast/reicast-emulator/pull/769","id":101736868,"number":769,"title":"Read evdev mappings from file","user":{"login":"Holzhaus","id":1834516,"avatar_url":"https://avatars.githubusercontent.com/u/1834516?v=3","gravatar_id":"","url":"https://api.github.com/users/Holzhaus","html_url":"https://github.com/Holzhaus","followers_url":"https://api.github.com/users/Holzhaus/followers","following_url":"https://api.github.com/users/Holzhaus/following{/other_user}","gists_url":"https://api.github.com/users/Holzhaus/gists{/gist_id}","starred_url":"https://api.github.com/users/Holzhaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Holzhaus/subscriptions","organizations_url":"https://api.github.com/users/Holzhaus/orgs","repos_url":"https://api.github.com/users/Holzhaus/repos","events_url":"https://api.github.com/users/Holzhaus/events{/privacy}","received_events_url":"https://api.github.com/users/Holzhaus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-08-18T20:00:09Z","updated_at":"2015-08-25T19:04:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/reicast/reicast-emulator/pulls/769","html_url":"https://github.com/reicast/reicast-emulator/pull/769","diff_url":"https://github.com/reicast/reicast-emulator/pull/769.diff","patch_url":"https://github.com/reicast/reicast-emulator/pull/769.patch"},"body":"This is needs PRs #752, #764 and #767, so it's actually starting with commit ~~a69f85b~~ (**EDIT:** I rebased, it starts with ee6fca7).\r\n\r\nThis is somehow big nonetheless, although there are not that many code changed. The biggest thing is the new `core/linux-dist/evdev_keycodes.cpp` (660 lines), so that uses can do `btn_a = BTN_A` instead of `btn_a = 0x130` or `btn_a = 304`. It sucks, I know, but I think it's worth it."},"comment":{"url":"https://api.github.com/repos/reicast/reicast-emulator/issues/comments/134703422","html_url":"https://github.com/reicast/reicast-emulator/pull/769#issuecomment-134703422","issue_url":"https://api.github.com/repos/reicast/reicast-emulator/issues/769","id":134703422,"user":{"login":"Holzhaus","id":1834516,"avatar_url":"https://avatars.githubusercontent.com/u/1834516?v=3","gravatar_id":"","url":"https://api.github.com/users/Holzhaus","html_url":"https://github.com/Holzhaus","followers_url":"https://api.github.com/users/Holzhaus/followers","following_url":"https://api.github.com/users/Holzhaus/following{/other_user}","gists_url":"https://api.github.com/users/Holzhaus/gists{/gist_id}","starred_url":"https://api.github.com/users/Holzhaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Holzhaus/subscriptions","organizations_url":"https://api.github.com/users/Holzhaus/orgs","repos_url":"https://api.github.com/users/Holzhaus/repos","events_url":"https://api.github.com/users/Holzhaus/events{/privacy}","received_events_url":"https://api.github.com/users/Holzhaus/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T19:04:37Z","updated_at":"2015-08-25T19:04:37Z","body":"I'll rebase this evening. Since all needed PRs have been merged, this can go in soon. Please test the python-script to create mapping files though :)"}}