{"action":"created","issue":{"url":"https://api.github.com/repos/pilotmoon/Scroll-Reverser/issues/12","labels_url":"https://api.github.com/repos/pilotmoon/Scroll-Reverser/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/pilotmoon/Scroll-Reverser/issues/12/comments","events_url":"https://api.github.com/repos/pilotmoon/Scroll-Reverser/issues/12/events","html_url":"https://github.com/pilotmoon/Scroll-Reverser/issues/12","id":53025767,"number":12,"title":"Distinguish between wheel and magic/mighty mouse","user":{"login":"invariant","id":17520,"avatar_url":"https://avatars.githubusercontent.com/u/17520?v=3","gravatar_id":"","url":"https://api.github.com/users/invariant","html_url":"https://github.com/invariant","followers_url":"https://api.github.com/users/invariant/followers","following_url":"https://api.github.com/users/invariant/following{/other_user}","gists_url":"https://api.github.com/users/invariant/gists{/gist_id}","starred_url":"https://api.github.com/users/invariant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invariant/subscriptions","organizations_url":"https://api.github.com/users/invariant/orgs","repos_url":"https://api.github.com/users/invariant/repos","events_url":"https://api.github.com/users/invariant/events{/privacy}","received_events_url":"https://api.github.com/users/invariant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pilotmoon/Scroll-Reverser/labels/feature","name":"feature","color":"02d7e1"},{"url":"https://api.github.com/repos/pilotmoon/Scroll-Reverser/labels/idea","name":"idea","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-29T08:07:30Z","updated_at":"2015-02-21T17:54:01Z","closed_at":null,"body":"https://twitter.com/bmastenbrook/status/548953877601849344"},"comment":{"url":"https://api.github.com/repos/pilotmoon/Scroll-Reverser/issues/comments/75383327","html_url":"https://github.com/pilotmoon/Scroll-Reverser/issues/12#issuecomment-75383327","issue_url":"https://api.github.com/repos/pilotmoon/Scroll-Reverser/issues/12","id":75383327,"user":{"login":"karstenBriksoft","id":184863,"avatar_url":"https://avatars.githubusercontent.com/u/184863?v=3","gravatar_id":"","url":"https://api.github.com/users/karstenBriksoft","html_url":"https://github.com/karstenBriksoft","followers_url":"https://api.github.com/users/karstenBriksoft/followers","following_url":"https://api.github.com/users/karstenBriksoft/following{/other_user}","gists_url":"https://api.github.com/users/karstenBriksoft/gists{/gist_id}","starred_url":"https://api.github.com/users/karstenBriksoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karstenBriksoft/subscriptions","organizations_url":"https://api.github.com/users/karstenBriksoft/orgs","repos_url":"https://api.github.com/users/karstenBriksoft/repos","events_url":"https://api.github.com/users/karstenBriksoft/events{/privacy}","received_events_url":"https://api.github.com/users/karstenBriksoft/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T17:54:01Z","updated_at":"2015-02-21T17:54:01Z","body":"It is possible to distinguish between the two using the following code:\r\n   NSEvent* nsevent = [NSEvent eventWithCGEvent: cgEventRef];\r\n   BOOL isMagicMouse = nsevent.subtype == 1;\r\n   ... "}}