{"action":"opened","number":535,"pull_request":{"url":"https://api.github.com/repos/tomaka/glutin/pulls/535","id":40532168,"html_url":"https://github.com/tomaka/glutin/pull/535","diff_url":"https://github.com/tomaka/glutin/pull/535.diff","patch_url":"https://github.com/tomaka/glutin/pull/535.patch","issue_url":"https://api.github.com/repos/tomaka/glutin/issues/535","number":535,"state":"open","locked":false,"title":"Only listen for mouse events from master devices","user":{"login":"robertknight","id":2458,"avatar_url":"https://avatars.githubusercontent.com/u/2458?v=3","gravatar_id":"","url":"https://api.github.com/users/robertknight","html_url":"https://github.com/robertknight","followers_url":"https://api.github.com/users/robertknight/followers","following_url":"https://api.github.com/users/robertknight/following{/other_user}","gists_url":"https://api.github.com/users/robertknight/gists{/gist_id}","starred_url":"https://api.github.com/users/robertknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertknight/subscriptions","organizations_url":"https://api.github.com/users/robertknight/orgs","repos_url":"https://api.github.com/users/robertknight/repos","events_url":"https://api.github.com/users/robertknight/events{/privacy}","received_events_url":"https://api.github.com/users/robertknight/received_events","type":"User","site_admin":false},"body":"XInput2 has a concept of master and slave devices,\r\nwhere a slave device is the actual physical device,\r\nattached to a master device representing the cursor or keyboard\r\nfocus.\r\n\r\nSee http://who-t.blogspot.co.uk/2009/05/xi2-recipes-part-1.html\r\n\r\nMouse events were being received from both the master and slave\r\ndevices, but we are only interested in events from the master device.\r\n\r\nFixes #533","created_at":"2015-07-22T05:47:03Z","updated_at":"2015-07-22T05:47:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tomaka/glutin/pulls/535/commits","review_comments_url":"https://api.github.com/repos/tomaka/glutin/pulls/535/comments","review_comment_url":"https://api.github.com/repos/tomaka/glutin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tomaka/glutin/issues/535/comments","statuses_url":"https://api.github.com/repos/tomaka/glutin/statuses/602a737440ae050e7725cb7c1f2dd31e97bf70e0","head":{"label":"robertknight:x11_duplicated_mouse_events","ref":"x11_duplicated_mouse_events","sha":"602a737440ae050e7725cb7c1f2dd31e97bf70e0","user":{"login":"robertknight","id":2458,"avatar_url":"https://avatars.githubusercontent.com/u/2458?v=3","gravatar_id":"","url":"https://api.github.com/users/robertknight","html_url":"https://github.com/robertknight","followers_url":"https://api.github.com/users/robertknight/followers","following_url":"https://api.github.com/users/robertknight/following{/other_user}","gists_url":"https://api.github.com/users/robertknight/gists{/gist_id}","starred_url":"https://api.github.com/users/robertknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertknight/subscriptions","organizations_url":"https://api.github.com/users/robertknight/orgs","repos_url":"https://api.github.com/users/robertknight/repos","events_url":"https://api.github.com/users/robertknight/events{/privacy}","received_events_url":"https://api.github.com/users/robertknight/received_events","type":"User","site_admin":false},"repo":{"id":37318218,"name":"glutin","full_name":"robertknight/glutin","owner":{"login":"robertknight","id":2458,"avatar_url":"https://avatars.githubusercontent.com/u/2458?v=3","gravatar_id":"","url":"https://api.github.com/users/robertknight","html_url":"https://github.com/robertknight","followers_url":"https://api.github.com/users/robertknight/followers","following_url":"https://api.github.com/users/robertknight/following{/other_user}","gists_url":"https://api.github.com/users/robertknight/gists{/gist_id}","starred_url":"https://api.github.com/users/robertknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertknight/subscriptions","organizations_url":"https://api.github.com/users/robertknight/orgs","repos_url":"https://api.github.com/users/robertknight/repos","events_url":"https://api.github.com/users/robertknight/events{/privacy}","received_events_url":"https://api.github.com/users/robertknight/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robertknight/glutin","description":"Pure Rust alternative to GLFW","fork":true,"url":"https://api.github.com/repos/robertknight/glutin","forks_url":"https://api.github.com/repos/robertknight/glutin/forks","keys_url":"https://api.github.com/repos/robertknight/glutin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robertknight/glutin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robertknight/glutin/teams","hooks_url":"https://api.github.com/repos/robertknight/glutin/hooks","issue_events_url":"https://api.github.com/repos/robertknight/glutin/issues/events{/number}","events_url":"https://api.github.com/repos/robertknight/glutin/events","assignees_url":"https://api.github.com/repos/robertknight/glutin/assignees{/user}","branches_url":"https://api.github.com/repos/robertknight/glutin/branches{/branch}","tags_url":"https://api.github.com/repos/robertknight/glutin/tags","blobs_url":"https://api.github.com/repos/robertknight/glutin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robertknight/glutin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robertknight/glutin/git/refs{/sha}","trees_url":"https://api.github.com/repos/robertknight/glutin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robertknight/glutin/statuses/{sha}","languages_url":"https://api.github.com/repos/robertknight/glutin/languages","stargazers_url":"https://api.github.com/repos/robertknight/glutin/stargazers","contributors_url":"https://api.github.com/repos/robertknight/glutin/contributors","subscribers_url":"https://api.github.com/repos/robertknight/glutin/subscribers","subscription_url":"https://api.github.com/repos/robertknight/glutin/subscription","commits_url":"https://api.github.com/repos/robertknight/glutin/commits{/sha}","git_commits_url":"https://api.github.com/repos/robertknight/glutin/git/commits{/sha}","comments_url":"https://api.github.com/repos/robertknight/glutin/comments{/number}","issue_comment_url":"https://api.github.com/repos/robertknight/glutin/issues/comments{/number}","contents_url":"https://api.github.com/repos/robertknight/glutin/contents/{+path}","compare_url":"https://api.github.com/repos/robertknight/glutin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robertknight/glutin/merges","archive_url":"https://api.github.com/repos/robertknight/glutin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robertknight/glutin/downloads","issues_url":"https://api.github.com/repos/robertknight/glutin/issues{/number}","pulls_url":"https://api.github.com/repos/robertknight/glutin/pulls{/number}","milestones_url":"https://api.github.com/repos/robertknight/glutin/milestones{/number}","notifications_url":"https://api.github.com/repos/robertknight/glutin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robertknight/glutin/labels{/name}","releases_url":"https://api.github.com/repos/robertknight/glutin/releases{/id}","created_at":"2015-06-12T11:24:25Z","updated_at":"2015-06-12T11:24:25Z","pushed_at":"2015-07-22T05:45:14Z","git_url":"git://github.com/robertknight/glutin.git","ssh_url":"git@github.com:robertknight/glutin.git","clone_url":"https://github.com/robertknight/glutin.git","svn_url":"https://github.com/robertknight/glutin","homepage":null,"size":3847,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tomaka:master","ref":"master","sha":"04a651320ba00571a0b2af9ae25c6d6c696c2803","user":{"login":"tomaka","id":1412254,"avatar_url":"https://avatars.githubusercontent.com/u/1412254?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaka","html_url":"https://github.com/tomaka","followers_url":"https://api.github.com/users/tomaka/followers","following_url":"https://api.github.com/users/tomaka/following{/other_user}","gists_url":"https://api.github.com/users/tomaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaka/subscriptions","organizations_url":"https://api.github.com/users/tomaka/orgs","repos_url":"https://api.github.com/users/tomaka/repos","events_url":"https://api.github.com/users/tomaka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaka/received_events","type":"User","site_admin":false},"repo":{"id":22305594,"name":"glutin","full_name":"tomaka/glutin","owner":{"login":"tomaka","id":1412254,"avatar_url":"https://avatars.githubusercontent.com/u/1412254?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaka","html_url":"https://github.com/tomaka","followers_url":"https://api.github.com/users/tomaka/followers","following_url":"https://api.github.com/users/tomaka/following{/other_user}","gists_url":"https://api.github.com/users/tomaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaka/subscriptions","organizations_url":"https://api.github.com/users/tomaka/orgs","repos_url":"https://api.github.com/users/tomaka/repos","events_url":"https://api.github.com/users/tomaka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomaka/glutin","description":"Pure Rust alternative to GLFW","fork":false,"url":"https://api.github.com/repos/tomaka/glutin","forks_url":"https://api.github.com/repos/tomaka/glutin/forks","keys_url":"https://api.github.com/repos/tomaka/glutin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomaka/glutin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomaka/glutin/teams","hooks_url":"https://api.github.com/repos/tomaka/glutin/hooks","issue_events_url":"https://api.github.com/repos/tomaka/glutin/issues/events{/number}","events_url":"https://api.github.com/repos/tomaka/glutin/events","assignees_url":"https://api.github.com/repos/tomaka/glutin/assignees{/user}","branches_url":"https://api.github.com/repos/tomaka/glutin/branches{/branch}","tags_url":"https://api.github.com/repos/tomaka/glutin/tags","blobs_url":"https://api.github.com/repos/tomaka/glutin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomaka/glutin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomaka/glutin/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomaka/glutin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomaka/glutin/statuses/{sha}","languages_url":"https://api.github.com/repos/tomaka/glutin/languages","stargazers_url":"https://api.github.com/repos/tomaka/glutin/stargazers","contributors_url":"https://api.github.com/repos/tomaka/glutin/contributors","subscribers_url":"https://api.github.com/repos/tomaka/glutin/subscribers","subscription_url":"https://api.github.com/repos/tomaka/glutin/subscription","commits_url":"https://api.github.com/repos/tomaka/glutin/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomaka/glutin/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomaka/glutin/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomaka/glutin/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomaka/glutin/contents/{+path}","compare_url":"https://api.github.com/repos/tomaka/glutin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomaka/glutin/merges","archive_url":"https://api.github.com/repos/tomaka/glutin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomaka/glutin/downloads","issues_url":"https://api.github.com/repos/tomaka/glutin/issues{/number}","pulls_url":"https://api.github.com/repos/tomaka/glutin/pulls{/number}","milestones_url":"https://api.github.com/repos/tomaka/glutin/milestones{/number}","notifications_url":"https://api.github.com/repos/tomaka/glutin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomaka/glutin/labels{/name}","releases_url":"https://api.github.com/repos/tomaka/glutin/releases{/id}","created_at":"2014-07-27T07:13:16Z","updated_at":"2015-07-21T11:56:28Z","pushed_at":"2015-07-22T05:47:04Z","git_url":"git://github.com/tomaka/glutin.git","ssh_url":"git@github.com:tomaka/glutin.git","clone_url":"https://github.com/tomaka/glutin.git","svn_url":"https://github.com/tomaka/glutin","homepage":null,"size":9504,"stargazers_count":272,"watchers_count":272,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":90,"mirror_url":null,"open_issues_count":81,"forks":90,"open_issues":81,"watchers":272,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tomaka/glutin/pulls/535"},"html":{"href":"https://github.com/tomaka/glutin/pull/535"},"issue":{"href":"https://api.github.com/repos/tomaka/glutin/issues/535"},"comments":{"href":"https://api.github.com/repos/tomaka/glutin/issues/535/comments"},"review_comments":{"href":"https://api.github.com/repos/tomaka/glutin/pulls/535/comments"},"review_comment":{"href":"https://api.github.com/repos/tomaka/glutin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tomaka/glutin/pulls/535/commits"},"statuses":{"href":"https://api.github.com/repos/tomaka/glutin/statuses/602a737440ae050e7725cb7c1f2dd31e97bf70e0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}