{"action":"created","issue":{"url":"https://api.github.com/repos/haskell-game/sdl2/issues/92","labels_url":"https://api.github.com/repos/haskell-game/sdl2/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/haskell-game/sdl2/issues/92/comments","events_url":"https://api.github.com/repos/haskell-game/sdl2/issues/92/events","html_url":"https://github.com/haskell-game/sdl2/pull/92","id":109904325,"number":92,"title":"added relative mouse movement function to high level API","user":{"login":"Velro","id":3078396,"avatar_url":"https://avatars.githubusercontent.com/u/3078396?v=3","gravatar_id":"","url":"https://api.github.com/users/Velro","html_url":"https://github.com/Velro","followers_url":"https://api.github.com/users/Velro/followers","following_url":"https://api.github.com/users/Velro/following{/other_user}","gists_url":"https://api.github.com/users/Velro/gists{/gist_id}","starred_url":"https://api.github.com/users/Velro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Velro/subscriptions","organizations_url":"https://api.github.com/users/Velro/orgs","repos_url":"https://api.github.com/users/Velro/repos","events_url":"https://api.github.com/users/Velro/events{/privacy}","received_events_url":"https://api.github.com/users/Velro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-05T23:08:59Z","updated_at":"2015-10-09T08:16:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/haskell-game/sdl2/pulls/92","html_url":"https://github.com/haskell-game/sdl2/pull/92","diff_url":"https://github.com/haskell-game/sdl2/pull/92.diff","patch_url":"https://github.com/haskell-game/sdl2/pull/92.patch"},"body":"It might be good to have this throw some error or warning if relativeMouseMode isn't on, and then also have a warning for when getMouseLocation is called, but relativeMouseMode is on. I'm not sure how that should be handled. "},"comment":{"url":"https://api.github.com/repos/haskell-game/sdl2/issues/comments/146794143","html_url":"https://github.com/haskell-game/sdl2/pull/92#issuecomment-146794143","issue_url":"https://api.github.com/repos/haskell-game/sdl2/issues/92","id":146794143,"user":{"login":"ocharles","id":20878,"avatar_url":"https://avatars.githubusercontent.com/u/20878?v=3","gravatar_id":"","url":"https://api.github.com/users/ocharles","html_url":"https://github.com/ocharles","followers_url":"https://api.github.com/users/ocharles/followers","following_url":"https://api.github.com/users/ocharles/following{/other_user}","gists_url":"https://api.github.com/users/ocharles/gists{/gist_id}","starred_url":"https://api.github.com/users/ocharles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocharles/subscriptions","organizations_url":"https://api.github.com/users/ocharles/orgs","repos_url":"https://api.github.com/users/ocharles/repos","events_url":"https://api.github.com/users/ocharles/events{/privacy}","received_events_url":"https://api.github.com/users/ocharles/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T08:16:46Z","updated_at":"2015-10-09T08:16:46Z","body":"I don't think I like having `getMouseLocation` change depending on some other global state. If we introduce `getRelativeMouseLocation`, I think `getMouseLocation` should be deprecated and renamed as `getAbsoluteMouseLocation`. That, or what @tejon is suggesting which (if I understand correctly) is a single function that requires a value that indicates which type of location to fetch."}}