{"action":"created","issue":{"url":"https://api.github.com/repos/qzind/tray/issues/25","repository_url":"https://api.github.com/repos/qzind/tray","labels_url":"https://api.github.com/repos/qzind/tray/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/qzind/tray/issues/25/comments","events_url":"https://api.github.com/repos/qzind/tray/issues/25/events","html_url":"https://github.com/qzind/tray/pull/25","id":146437724,"number":25,"title":"Add new library for HID support","user":{"login":"bberenz","id":5912715,"avatar_url":"https://avatars.githubusercontent.com/u/5912715?v=3","gravatar_id":"","url":"https://api.github.com/users/bberenz","html_url":"https://github.com/bberenz","followers_url":"https://api.github.com/users/bberenz/followers","following_url":"https://api.github.com/users/bberenz/following{/other_user}","gists_url":"https://api.github.com/users/bberenz/gists{/gist_id}","starred_url":"https://api.github.com/users/bberenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bberenz/subscriptions","organizations_url":"https://api.github.com/users/bberenz/orgs","repos_url":"https://api.github.com/users/bberenz/repos","events_url":"https://api.github.com/users/bberenz/events{/privacy}","received_events_url":"https://api.github.com/users/bberenz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2016-04-06T21:16:17Z","updated_at":"2016-06-14T18:41:11Z","closed_at":"2016-06-14T18:36:58Z","pull_request":{"url":"https://api.github.com/repos/qzind/tray/pulls/25","html_url":"https://github.com/qzind/tray/pull/25","diff_url":"https://github.com/qzind/tray/pull/25.diff","patch_url":"https://github.com/qzind/tray/pull/25.patch"},"body":"New libraries have been added for HID support.\r\nThis is in a working state and ready for testing across devices.\r\n\r\nUsb events were given a common interface (DeviceIO) to help reduce duplicate code sitting in the PrintSocketClient. So UsbIO was refactored a little around this, and HidIO of course follows it.\r\n\r\nThe response on callbacks for streaming (for serial, usb, and hid) has changed to be a complete object, rather than broken into parameters. This is to allow for identifying response types, `RECEIVE` as general data, `ERROR` as failures, and `ACTION` for listeners (currently only HID).\r\n\r\nA bit of refactoring on PrintSocketClient happened. Turning some calls into static methods so they could be moved to their respective Utilities classes and keep the client object focused on processing receive/send events on the websocket. This doesn't affect anything for connecting, as they were all private instance calls before."},"comment":{"url":"https://api.github.com/repos/qzind/tray/issues/comments/225976807","html_url":"https://github.com/qzind/tray/pull/25#issuecomment-225976807","issue_url":"https://api.github.com/repos/qzind/tray/issues/25","id":225976807,"user":{"login":"bberenz","id":5912715,"avatar_url":"https://avatars.githubusercontent.com/u/5912715?v=3","gravatar_id":"","url":"https://api.github.com/users/bberenz","html_url":"https://github.com/bberenz","followers_url":"https://api.github.com/users/bberenz/followers","following_url":"https://api.github.com/users/bberenz/following{/other_user}","gists_url":"https://api.github.com/users/bberenz/gists{/gist_id}","starred_url":"https://api.github.com/users/bberenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bberenz/subscriptions","organizations_url":"https://api.github.com/users/bberenz/orgs","repos_url":"https://api.github.com/users/bberenz/repos","events_url":"https://api.github.com/users/bberenz/events{/privacy}","received_events_url":"https://api.github.com/users/bberenz/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T18:41:11Z","updated_at":"2016-06-14T18:41:11Z","body":"Working on it, there has been a few changes in `2.0` that directly conflict with this branch.."}}
{"actor":{"display_login":"bberenz"}}