{"action":"created","issue":{"url":"https://api.github.com/repos/thp/psmoveapi/issues/163","labels_url":"https://api.github.com/repos/thp/psmoveapi/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/thp/psmoveapi/issues/163/comments","events_url":"https://api.github.com/repos/thp/psmoveapi/issues/163/events","html_url":"https://github.com/thp/psmoveapi/pull/163","id":61237172,"number":163,"title":"Fixes for MSVC 2013","user":{"login":"cboulay","id":303797,"avatar_url":"https://avatars.githubusercontent.com/u/303797?v=3","gravatar_id":"","url":"https://api.github.com/users/cboulay","html_url":"https://github.com/cboulay","followers_url":"https://api.github.com/users/cboulay/followers","following_url":"https://api.github.com/users/cboulay/following{/other_user}","gists_url":"https://api.github.com/users/cboulay/gists{/gist_id}","starred_url":"https://api.github.com/users/cboulay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboulay/subscriptions","organizations_url":"https://api.github.com/users/cboulay/orgs","repos_url":"https://api.github.com/users/cboulay/repos","events_url":"https://api.github.com/users/cboulay/events{/privacy}","received_events_url":"https://api.github.com/users/cboulay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-13T20:57:03Z","updated_at":"2015-04-20T15:20:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thp/psmoveapi/pulls/163","html_url":"https://github.com/thp/psmoveapi/pull/163","diff_url":"https://github.com/thp/psmoveapi/pull/163.diff","patch_url":"https://github.com/thp/psmoveapi/pull/163.patch"},"body":"Here is a cleaner version of my changes to support MSVC 2013.\r\nWhile everything builds fine, not of the programs really work without merging the changes from #149 and #162 If those are merged then all programs work, including utilities and examples.\r\n\r\nI made a lot of changes to CMakeLists.txt\r\nIMO, it's more organized now. It's probably (almost) possible to separate the tracker portions into a separate file, if that's desirable."},"comment":{"url":"https://api.github.com/repos/thp/psmoveapi/issues/comments/94482019","html_url":"https://github.com/thp/psmoveapi/pull/163#issuecomment-94482019","issue_url":"https://api.github.com/repos/thp/psmoveapi/issues/163","id":94482019,"user":{"login":"cboulay","id":303797,"avatar_url":"https://avatars.githubusercontent.com/u/303797?v=3","gravatar_id":"","url":"https://api.github.com/users/cboulay","html_url":"https://github.com/cboulay","followers_url":"https://api.github.com/users/cboulay/followers","following_url":"https://api.github.com/users/cboulay/following{/other_user}","gists_url":"https://api.github.com/users/cboulay/gists{/gist_id}","starred_url":"https://api.github.com/users/cboulay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboulay/subscriptions","organizations_url":"https://api.github.com/users/cboulay/orgs","repos_url":"https://api.github.com/users/cboulay/repos","events_url":"https://api.github.com/users/cboulay/events{/privacy}","received_events_url":"https://api.github.com/users/cboulay/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T15:20:18Z","updated_at":"2015-04-20T15:20:18Z","body":"Thanks for the link about win32 threads. I'll look into it to see if it's an easy replacement and if so then I can get rid of pthreads-win32.\r\n\r\nSome [changes I've made in one of my own branches](https://github.com/cboulay/psmoveapi/commit/e70330b9b0c7b064dc90a16fb8d61cd01d9cb47d) have eliminated the need for ps3eye_settings.reg entirely. The PS3EYE settings are saved to a file in the home directory then restored from there, just like in Linux.\r\n\r\nI wonder though if this mechanism is even necessary (note OSX does not do it at all). From what I can tell, all that's being done is the original settings are being queried from the camera as soon as the camera is opened, the camera settings are manipulated by the API, then the original settings are restored to the camera before it is closed. In Windows, using the PS3EYEDriver, the 'original' settings are just the PS3EYEDriver defaults. There's no need to store these to a file. I propose we change these Win functions to no-ops, just like the Mac functions.\r\n\r\n Does it happen in Linux that if you change the camera settings with application A then those changed settings will be preserved when opening the camera with application B? If not, then these functions don't need to exist at all."}}