{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/4710","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/4710/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/4710/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/4710/events","html_url":"https://github.com/mpv-player/mpv/pull/4710","id":247980209,"number":4710,"title":"Use mnemonic names instead of numbers for mouse buttons","user":{"login":"rossy","id":162837,"avatar_url":"https://avatars3.githubusercontent.com/u/162837?v=4","gravatar_id":"","url":"https://api.github.com/users/rossy","html_url":"https://github.com/rossy","followers_url":"https://api.github.com/users/rossy/followers","following_url":"https://api.github.com/users/rossy/following{/other_user}","gists_url":"https://api.github.com/users/rossy/gists{/gist_id}","starred_url":"https://api.github.com/users/rossy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossy/subscriptions","organizations_url":"https://api.github.com/users/rossy/orgs","repos_url":"https://api.github.com/users/rossy/repos","events_url":"https://api.github.com/users/rossy/events{/privacy}","received_events_url":"https://api.github.com/users/rossy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-04T11:32:19Z","updated_at":"2017-08-04T13:49:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mpv-player/mpv/pulls/4710","html_url":"https://github.com/mpv-player/mpv/pull/4710","diff_url":"https://github.com/mpv-player/mpv/pull/4710.diff","patch_url":"https://github.com/mpv-player/mpv/pull/4710.patch"},"body":"This makes it easier to remember the names of each button, both as a developer and as a user. The old numbered names are kept as aliases, so this should be backwards compatible with existing scripts and input.confs.\r\n\r\nI'm open for bikeshedding about what the buttons should be called. MOUSE_BTN_PRIMARY and MOUSE_BTN_SECONDARY might be preferable to LEFT/RIGHT and cater for eg. left handers who swap those buttons around, but they're also pretty long names."},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/320253824","html_url":"https://github.com/mpv-player/mpv/pull/4710#issuecomment-320253824","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/4710","id":320253824,"user":{"login":"haasn","id":1149047,"avatar_url":"https://avatars0.githubusercontent.com/u/1149047?v=4","gravatar_id":"","url":"https://api.github.com/users/haasn","html_url":"https://github.com/haasn","followers_url":"https://api.github.com/users/haasn/followers","following_url":"https://api.github.com/users/haasn/following{/other_user}","gists_url":"https://api.github.com/users/haasn/gists{/gist_id}","starred_url":"https://api.github.com/users/haasn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haasn/subscriptions","organizations_url":"https://api.github.com/users/haasn/orgs","repos_url":"https://api.github.com/users/haasn/repos","events_url":"https://api.github.com/users/haasn/events{/privacy}","received_events_url":"https://api.github.com/users/haasn/received_events","type":"User","site_admin":false},"created_at":"2017-08-04T13:49:22Z","updated_at":"2017-08-04T13:49:22Z","body":"We should also do a better job of communicating this change in the release notes. Is it at all possible to make the behavior backwards compatible with the current names? (+ a deprecation warning)"}}
{"actor":{"display_login":"haasn"}}