{"pull_request":{"title":"Fix output report length bug & hid read on Windows","created_at":"2011-11-23T02:17:09Z","merged_at":null,"user":{"login":"vlovich","id":201287,"url":"https://api.github.com/users/vlovich","avatar_url":"https://secure.gravatar.com/avatar/62c8857a0a45365ebd64c167d59e0483?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"62c8857a0a45365ebd64c167d59e0483"},"review_comments":0,"updated_at":"2011-12-30T19:27:15Z","state":"closed","id":521382,"patch_url":"https://github.com/signal11/hidapi/pull/28.patch","closed_at":"2011-12-30T19:27:15Z","html_url":"https://github.com/signal11/hidapi/pull/28","deletions":3,"mergeable":false,"issue_url":"https://github.com/signal11/hidapi/issues/28","base":{"ref":"master","user":{"login":"signal11","id":168999,"url":"https://api.github.com/users/signal11","avatar_url":"https://secure.gravatar.com/avatar/4669b356641bd29d55c871b831634c6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"4669b356641bd29d55c871b831634c6d"},"sha":"e44064cf6db040865159987afe9377ab13409904","repo":{"git_url":"git://github.com/signal11/hidapi.git","open_issues":13,"watchers":59,"created_at":"2010-04-11T20:04:33Z","fork":false,"updated_at":"2011-12-30T19:22:03Z","id":605459,"language":"C","html_url":"https://github.com/signal11/hidapi","name":"hidapi","master_branch":null,"description":"A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac, and Windows.","url":"https://api.github.com/repos/signal11/hidapi","ssh_url":"git@github.com:signal11/hidapi.git","pushed_at":"2011-12-30T19:22:03Z","forks":20,"clone_url":"https://github.com/signal11/hidapi.git","owner":{"login":"signal11","id":168999,"url":"https://api.github.com/users/signal11","avatar_url":"https://secure.gravatar.com/avatar/4669b356641bd29d55c871b831634c6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"4669b356641bd29d55c871b831634c6d"},"homepage":"http://www.signal11.us/oss/hidapi/","size":17456,"private":false,"svn_url":"https://github.com/signal11/hidapi"},"label":"signal11:master"},"body":"On Windows, data shorter than the output report length must be padded to the output report length of the device.  This copies data shorter than this length into a temporary buffer.  Longer reports behave as before (not sure if it needs to be a multiple of the output report length or what - should be so left it alone).\r\n\r\nAlso, fix the hid read to never copy in more than was read from the hid device.","number":28,"additions":29,"commits":1,"url":"https://api.github.com/repos/signal11/hidapi/pulls/28","_links":{"review_comments":{"href":"https://api.github.com/repos/signal11/hidapi/pulls/28/comments"},"html":{"href":"https://github.com/signal11/hidapi/pull/28"},"self":{"href":"https://api.github.com/repos/signal11/hidapi/pulls/28"},"comments":{"href":"https://api.github.com/repos/signal11/hidapi/issues/28/comments"}},"diff_url":"https://github.com/signal11/hidapi/pull/28.diff","merged_by":null,"comments":0,"head":{"ref":"windows_report_length_fix","user":{"login":"vlovich","id":201287,"url":"https://api.github.com/users/vlovich","avatar_url":"https://secure.gravatar.com/avatar/62c8857a0a45365ebd64c167d59e0483?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"62c8857a0a45365ebd64c167d59e0483"},"sha":"dc6ca22775e4a8d9249b710a1a86b6df0050f569","repo":{"git_url":"git://github.com/vlovich/hidapi.git","open_issues":0,"watchers":3,"created_at":"2011-11-23T01:47:01Z","fork":true,"updated_at":"2011-12-30T09:52:06Z","id":2832544,"language":"C","html_url":"https://github.com/vlovich/hidapi","name":"hidapi","master_branch":null,"description":"A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac, and Windows.","url":"https://api.github.com/repos/vlovich/hidapi","ssh_url":"git@github.com:vlovich/hidapi.git","pushed_at":"2011-11-23T02:44:46Z","forks":0,"clone_url":"https://github.com/vlovich/hidapi.git","owner":{"login":"vlovich","id":201287,"url":"https://api.github.com/users/vlovich","avatar_url":"https://secure.gravatar.com/avatar/62c8857a0a45365ebd64c167d59e0483?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"62c8857a0a45365ebd64c167d59e0483"},"homepage":"http://www.signal11.us/oss/hidapi/","size":128,"private":false,"svn_url":"https://github.com/vlovich/hidapi"},"label":"vlovich:windows_report_length_fix"},"changed_files":1,"merged":false},"number":28,"action":"closed"}