{"action":"opened","number":138,"pull_request":{"url":"https://api.github.com/repos/xbmc/peripheral.joystick/pulls/138","id":167059032,"html_url":"https://github.com/xbmc/peripheral.joystick/pull/138","diff_url":"https://github.com/xbmc/peripheral.joystick/pull/138.diff","patch_url":"https://github.com/xbmc/peripheral.joystick/pull/138.patch","issue_url":"https://api.github.com/repos/xbmc/peripheral.joystick/issues/138","number":138,"state":"open","locked":false,"title":"Peripheral API v1.3.7: Mouse mapping support","user":{"login":"garbear","id":531482,"avatar_url":"https://avatars2.githubusercontent.com/u/531482?v=4","gravatar_id":"","url":"https://api.github.com/users/garbear","html_url":"https://github.com/garbear","followers_url":"https://api.github.com/users/garbear/followers","following_url":"https://api.github.com/users/garbear/following{/other_user}","gists_url":"https://api.github.com/users/garbear/gists{/gist_id}","starred_url":"https://api.github.com/users/garbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbear/subscriptions","organizations_url":"https://api.github.com/users/garbear/orgs","repos_url":"https://api.github.com/users/garbear/repos","events_url":"https://api.github.com/users/garbear/events{/privacy}","received_events_url":"https://api.github.com/users/garbear/received_events","type":"User","site_admin":false},"body":"This PR allows mouse buttons and relative pointers to be stored in the buttonmap. An example buttonmap looks like:\r\n\r\n```xml\r\n<buttonmap>\r\n    <device name=\"Mouse\" provider=\"application\">\r\n        <controller id=\"game.controller.mouse\">\r\n            <feature name=\"button4\" mouse=\"button4\" />\r\n            <feature name=\"button5\" mouse=\"button5\" />\r\n            <feature name=\"horizwheelleft\" mouse=\"horizwheelleft\" />\r\n            <feature name=\"horizwheelright\" mouse=\"horizwheelright\" />\r\n            <feature name=\"left\" mouse=\"left\" />\r\n            <feature name=\"middle\" mouse=\"middle\" />\r\n            <feature name=\"pointer\">\r\n                <up axis=\"-y\" />\r\n                <down axis=\"+y\" />\r\n                <right axis=\"+x\" />\r\n                <left axis=\"-x\" />\r\n            </feature>\r\n            <feature name=\"right\" mouse=\"right\" />\r\n            <feature name=\"wheeldown\" mouse=\"wheeldown\" />\r\n            <feature name=\"wheelup\" mouse=\"wheelup\" />\r\n        </controller>\r\n    </device>\r\n</buttonmap>\r\n```","created_at":"2018-02-05T05:13:56Z","updated_at":"2018-02-05T05:13:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/peripheral.joystick/pulls/138/commits","review_comments_url":"https://api.github.com/repos/xbmc/peripheral.joystick/pulls/138/comments","review_comment_url":"https://api.github.com/repos/xbmc/peripheral.joystick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/peripheral.joystick/issues/138/comments","statuses_url":"https://api.github.com/repos/xbmc/peripheral.joystick/statuses/db4f7412a8136cc0401956dd37dd6724eb12ebdc","head":{"label":"kodi-game:mouse","ref":"mouse","sha":"db4f7412a8136cc0401956dd37dd6724eb12ebdc","user":{"login":"kodi-game","id":11261185,"avatar_url":"https://avatars3.githubusercontent.com/u/11261185?v=4","gravatar_id":"","url":"https://api.github.com/users/kodi-game","html_url":"https://github.com/kodi-game","followers_url":"https://api.github.com/users/kodi-game/followers","following_url":"https://api.github.com/users/kodi-game/following{/other_user}","gists_url":"https://api.github.com/users/kodi-game/gists{/gist_id}","starred_url":"https://api.github.com/users/kodi-game/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kodi-game/subscriptions","organizations_url":"https://api.github.com/users/kodi-game/orgs","repos_url":"https://api.github.com/users/kodi-game/repos","events_url":"https://api.github.com/users/kodi-game/events{/privacy}","received_events_url":"https://api.github.com/users/kodi-game/received_events","type":"Organization","site_admin":false},"repo":{"id":71661771,"name":"peripheral.joystick","full_name":"kodi-game/peripheral.joystick","owner":{"login":"kodi-game","id":11261185,"avatar_url":"https://avatars3.githubusercontent.com/u/11261185?v=4","gravatar_id":"","url":"https://api.github.com/users/kodi-game","html_url":"https://github.com/kodi-game","followers_url":"https://api.github.com/users/kodi-game/followers","following_url":"https://api.github.com/users/kodi-game/following{/other_user}","gists_url":"https://api.github.com/users/kodi-game/gists{/gist_id}","starred_url":"https://api.github.com/users/kodi-game/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kodi-game/subscriptions","organizations_url":"https://api.github.com/users/kodi-game/orgs","repos_url":"https://api.github.com/users/kodi-game/repos","events_url":"https://api.github.com/users/kodi-game/events{/privacy}","received_events_url":"https://api.github.com/users/kodi-game/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kodi-game/peripheral.joystick","description":"ARCHIVE of peripheral.joystick repo. See https://github.com/xbmc/peripheral.joystick","fork":true,"url":"https://api.github.com/repos/kodi-game/peripheral.joystick","forks_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/forks","keys_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/teams","hooks_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/hooks","issue_events_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/issues/events{/number}","events_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/events","assignees_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/assignees{/user}","branches_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/branches{/branch}","tags_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/tags","blobs_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/git/refs{/sha}","trees_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/statuses/{sha}","languages_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/languages","stargazers_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/stargazers","contributors_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/contributors","subscribers_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/subscribers","subscription_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/subscription","commits_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/commits{/sha}","git_commits_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/git/commits{/sha}","comments_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/comments{/number}","issue_comment_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/issues/comments{/number}","contents_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/contents/{+path}","compare_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/merges","archive_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/downloads","issues_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/issues{/number}","pulls_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/pulls{/number}","milestones_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/milestones{/number}","notifications_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/labels{/name}","releases_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/releases{/id}","deployments_url":"https://api.github.com/repos/kodi-game/peripheral.joystick/deployments","created_at":"2016-10-22T19:44:55Z","updated_at":"2016-10-23T07:45:21Z","pushed_at":"2018-02-05T03:52:02Z","git_url":"git://github.com/kodi-game/peripheral.joystick.git","ssh_url":"git@github.com:kodi-game/peripheral.joystick.git","clone_url":"https://github.com/kodi-game/peripheral.joystick.git","svn_url":"https://github.com/kodi-game/peripheral.joystick","homepage":"","size":3071,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"retroplayer"}},"base":{"label":"xbmc:master","ref":"master","sha":"7f2f2eb20a4ac3c91815a1b1313aaa87889d1db0","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars2.githubusercontent.com/u/199122?v=4","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":31578025,"name":"peripheral.joystick","full_name":"xbmc/peripheral.joystick","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars2.githubusercontent.com/u/199122?v=4","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/peripheral.joystick","description":"Kodi joystick support (drivers and button maps)","fork":true,"url":"https://api.github.com/repos/xbmc/peripheral.joystick","forks_url":"https://api.github.com/repos/xbmc/peripheral.joystick/forks","keys_url":"https://api.github.com/repos/xbmc/peripheral.joystick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/peripheral.joystick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/peripheral.joystick/teams","hooks_url":"https://api.github.com/repos/xbmc/peripheral.joystick/hooks","issue_events_url":"https://api.github.com/repos/xbmc/peripheral.joystick/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/peripheral.joystick/events","assignees_url":"https://api.github.com/repos/xbmc/peripheral.joystick/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/peripheral.joystick/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/peripheral.joystick/tags","blobs_url":"https://api.github.com/repos/xbmc/peripheral.joystick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/peripheral.joystick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/peripheral.joystick/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/peripheral.joystick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/peripheral.joystick/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/peripheral.joystick/languages","stargazers_url":"https://api.github.com/repos/xbmc/peripheral.joystick/stargazers","contributors_url":"https://api.github.com/repos/xbmc/peripheral.joystick/contributors","subscribers_url":"https://api.github.com/repos/xbmc/peripheral.joystick/subscribers","subscription_url":"https://api.github.com/repos/xbmc/peripheral.joystick/subscription","commits_url":"https://api.github.com/repos/xbmc/peripheral.joystick/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/peripheral.joystick/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/peripheral.joystick/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/peripheral.joystick/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/peripheral.joystick/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/peripheral.joystick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/peripheral.joystick/merges","archive_url":"https://api.github.com/repos/xbmc/peripheral.joystick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/peripheral.joystick/downloads","issues_url":"https://api.github.com/repos/xbmc/peripheral.joystick/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/peripheral.joystick/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/peripheral.joystick/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/peripheral.joystick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/peripheral.joystick/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/peripheral.joystick/releases{/id}","deployments_url":"https://api.github.com/repos/xbmc/peripheral.joystick/deployments","created_at":"2015-03-03T03:46:29Z","updated_at":"2017-12-16T09:20:53Z","pushed_at":"2018-02-03T05:43:22Z","git_url":"git://github.com/xbmc/peripheral.joystick.git","ssh_url":"git@github.com:xbmc/peripheral.joystick.git","clone_url":"https://github.com/xbmc/peripheral.joystick.git","svn_url":"https://github.com/xbmc/peripheral.joystick","homepage":"","size":3061,"stargazers_count":7,"watchers_count":7,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":23,"open_issues":12,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/peripheral.joystick/pulls/138"},"html":{"href":"https://github.com/xbmc/peripheral.joystick/pull/138"},"issue":{"href":"https://api.github.com/repos/xbmc/peripheral.joystick/issues/138"},"comments":{"href":"https://api.github.com/repos/xbmc/peripheral.joystick/issues/138/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/peripheral.joystick/pulls/138/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/peripheral.joystick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/peripheral.joystick/pulls/138/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/peripheral.joystick/statuses/db4f7412a8136cc0401956dd37dd6724eb12ebdc"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":289,"deletions":13,"changed_files":12}}
{"actor":{"display_login":"garbear"}}