{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":190275430,"defaultBranch":"master","name":"hidapi","ownerLogin":"libusb","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-06-04T20:36:19.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/4439549?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1712395231.0","currentOid":""},"activityList":{"items":[{"before":"05574d13756f317a2960ef763b17ace0cc172d84","after":"9580d00a7153a95e9f7d883c40f73dd67f2de873","ref":"refs/heads/gh-pages","pushedAt":"2024-04-28T10:46:19.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 6c2de304317d2e48c463399e0401ae6e406cd7c6","shortMessageHtmlLink":"deploy: 6c2de30"}},{"before":"bda710178dfe9650bdf76aa02e3671e17e3a8a27","after":"6c2de304317d2e48c463399e0401ae6e406cd7c6","ref":"refs/heads/master","pushedAt":"2024-04-28T10:45:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Switch to macos-13 for Coverity\n\nApparently `macos-latest-large` is only available for payed accounts.","shortMessageHtmlLink":"Switch to macos-13 for Coverity"}},{"before":"adc30a007763d5f10e7aa854ff27a0acc6bdbd01","after":"05574d13756f317a2960ef763b17ace0cc172d84","ref":"refs/heads/gh-pages","pushedAt":"2024-04-28T09:51:27.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: bda710178dfe9650bdf76aa02e3671e17e3a8a27","shortMessageHtmlLink":"deploy: bda7101"}},{"before":"c2ffb03ef6f4cfc5de005adb6d37aa45cbd7d68b","after":"bda710178dfe9650bdf76aa02e3671e17e3a8a27","ref":"refs/heads/master","pushedAt":"2024-04-28T09:50:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Explicitly use non-ARM64 macOS runner\n\nAs of recently, `macos-latest` runner switched to macOS-14-arm64 host, and Coverity (at least currently available image) only works on Intel/x86_64-based systems.\r\n`macos-latest-large` macOS runner is Intel-based, as per documentation.","shortMessageHtmlLink":"Explicitly use non-ARM64 macOS runner"}},{"before":"4f73d1f5e9fa4aed68e6193189f2fa895c8e1930","after":"cfed1549ae6c159225c26734205ceffd86db5605","ref":"refs/heads/connection-callback","pushedAt":"2024-04-06T10:31:08.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Merge branch 'master' into connection-callback","shortMessageHtmlLink":"Merge branch 'master' into connection-callback"}},{"before":"4537833f809e022fa9c0ba68f442fbc7279e5386","after":"4f73d1f5e9fa4aed68e6193189f2fa895c8e1930","ref":"refs/heads/connection-callback","pushedAt":"2024-04-06T10:25:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Hotplug implementation for MacOS (HidManager approach) (#653)","shortMessageHtmlLink":"Hotplug implementation for MacOS (HidManager approach) (#653)"}},{"before":"60b40d9423c8d486fc3fad116dcc67082897a8ab","after":"4537833f809e022fa9c0ba68f442fbc7279e5386","ref":"refs/heads/connection-callback","pushedAt":"2024-04-06T10:19:13.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Linux Hotplug: Connection-callback implementation for hidraw (#647)","shortMessageHtmlLink":"Linux Hotplug: Connection-callback implementation for hidraw (#647)"}},{"before":"c3a2775f9df3123a7f3aa267dac3fca084106600","after":"60b40d9423c8d486fc3fad116dcc67082897a8ab","ref":"refs/heads/connection-callback","pushedAt":"2024-04-06T10:17:26.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Linux Hotplug: connection-callback implementation for libusb backend (#645)","shortMessageHtmlLink":"Linux Hotplug: connection-callback implementation for libusb backend (#…"}},{"before":"ce923867993c55bc374ed99a4f384913af6495b4","after":"c3a2775f9df3123a7f3aa267dac3fca084106600","ref":"refs/heads/connection-callback","pushedAt":"2024-04-06T09:59:53.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Connection callback: add stubs for netbsd (#668)\n\n* netbsd hotplug stubs\r\n\r\n* Make cygwin happy (fix copied from libusb)","shortMessageHtmlLink":"Connection callback: add stubs for netbsd (#668)"}},{"before":"79a3516d0487ffb46359bf7b7c8a88e8dc33b2cb","after":"ce923867993c55bc374ed99a4f384913af6495b4","ref":"refs/heads/connection-callback","pushedAt":"2024-04-06T09:56:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Windows hotplug: Mutex for callback actions (#646)","shortMessageHtmlLink":"Windows hotplug: Mutex for callback actions (#646)"}},{"before":"0f3b1cc08174553ae3d28cdac90f1df93c47cfa5","after":"adc30a007763d5f10e7aa854ff27a0acc6bdbd01","ref":"refs/heads/gh-pages","pushedAt":"2024-04-06T09:24:19.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: c2ffb03ef6f4cfc5de005adb6d37aa45cbd7d68b","shortMessageHtmlLink":"deploy: c2ffb03"}},{"before":"75dca160dac3f83d24c5e18f7f31bf010cafd2f7","after":null,"ref":"refs/heads/fix-badge","pushedAt":"2024-04-06T09:23:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"}},{"before":"d0732cda906ad07b7e1ef93f1919035643620435","after":"c2ffb03ef6f4cfc5de005adb6d37aa45cbd7d68b","ref":"refs/heads/master","pushedAt":"2024-04-06T09:23:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Fix Github Builds status badge (#672)\n\nAs per new Github API.","shortMessageHtmlLink":"Fix Github Builds status badge (#672)"}},{"before":null,"after":"75dca160dac3f83d24c5e18f7f31bf010cafd2f7","ref":"refs/heads/fix-badge","pushedAt":"2024-04-06T09:20:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Fix Github Builds status badge\n\nAs per new Github API.","shortMessageHtmlLink":"Fix Github Builds status badge"}},{"before":"1b0b6acce5505aaa66b550f648c7662a03a53f7e","after":"79a3516d0487ffb46359bf7b7c8a88e8dc33b2cb","ref":"refs/heads/connection-callback","pushedAt":"2024-03-11T13:53:50.000Z","pushType":"push","commitsCount":47,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Merge branch 'master' into connection-callback\n\n- fix merge conflict\n- fix indentation in a few places","shortMessageHtmlLink":"Merge branch 'master' into connection-callback"}},{"before":"3d9734b07279f1dc78fdda28edb81f0387a53984","after":"0f3b1cc08174553ae3d28cdac90f1df93c47cfa5","ref":"refs/heads/gh-pages","pushedAt":"2024-03-05T12:57:11.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: d0732cda906ad07b7e1ef93f1919035643620435","shortMessageHtmlLink":"deploy: d0732cd"}},{"before":"76462bd767c97f92830cb5ca6929d22d9d9e56b8","after":"d0732cda906ad07b7e1ef93f1919035643620435","ref":"refs/heads/master","pushedAt":"2024-03-05T12:56:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"hidapi/windows: do not wait in GetOverlappedResult() in hid_read_timeout() (#577)\n\nThis is unsafe because the event is auto-reset, therefore the call to\r\nWaitForSingleObject() resets the event which GetOverlappedResult() will\r\ntry to wait on.\r\n\r\nEven though the overlapped operation is guaranteed to be completed at\r\nthe point we call GetOverlappedResult(), it will still wait on the event\r\nhandle for a short time to trigger the reset for auto-reset events. This\r\namounts to roughly a 100 ms sleep each time GetOverlappedResult() is called\r\nfor a completed I/O with a non-signalled event.\r\n\r\nIn the context of HIDAPI, this extra sleep means that callers that loop\r\non hid_read_timeout() with timeout=0 will loop forever, since the 100 ms\r\nsleep each iteration ensures ReadFile() will always have new data.\r\n\r\nSigned-off-by: Cameron Gutman \r\nSigned-off-by: Sam Lantinga ","shortMessageHtmlLink":"hidapi/windows: do not wait in GetOverlappedResult() in hid_read_time…"}},{"before":"e5a990ae54790aaffa42f004167824a7909cc828","after":"3d9734b07279f1dc78fdda28edb81f0387a53984","ref":"refs/heads/gh-pages","pushedAt":"2024-03-05T11:26:59.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 76462bd767c97f92830cb5ca6929d22d9d9e56b8","shortMessageHtmlLink":"deploy: 76462bd"}},{"before":"6a130ba36867c23eb3dcbff32a1abb7386eb2eab","after":null,"ref":"refs/heads/cmake-warning","pushedAt":"2024-03-05T11:26:02.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"}},{"before":"4f2e91bae80cc48e567a80bd9ae3dc53dc5b73c6","after":"76462bd767c97f92830cb5ca6929d22d9d9e56b8","ref":"refs/heads/master","pushedAt":"2024-03-05T11:26:02.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Avoid CMake backward compatibility warning (#663)\n\nAvoid a message:\r\n```\r\nCompatibility with CMake < 3.5 will be removed from a future version of CMake.\r\n\r\nUpdate the VERSION argument value or use a ... suffix to tell\r\nCMake that the project does not need compatibility with older versions.\r\n```\r\n\r\nFixes: #642","shortMessageHtmlLink":"Avoid CMake backward compatibility warning (#663)"}},{"before":null,"after":"6a130ba36867c23eb3dcbff32a1abb7386eb2eab","ref":"refs/heads/cmake-warning","pushedAt":"2024-03-05T09:16:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Avoid CMake backward compatibility warning\n\nAvoid a message:\n```\nCompatibility with CMake < 3.5 will be removed from a future version of CMake.\n\nUpdate the VERSION argument value or use a ... suffix to tell\nCMake that the project does not need compatibility with older versions.\n```","shortMessageHtmlLink":"Avoid CMake backward compatibility warning"}},{"before":"9bc1afbb6501cc1c6a3462b2e57e341f89b9574f","after":"e5a990ae54790aaffa42f004167824a7909cc828","ref":"refs/heads/gh-pages","pushedAt":"2024-03-04T11:09:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 4f2e91bae80cc48e567a80bd9ae3dc53dc5b73c6","shortMessageHtmlLink":"deploy: 4f2e91b"}},{"before":"7011fa98af2dde00c298105735e470de800288c7","after":"4f2e91bae80cc48e567a80bd9ae3dc53dc5b73c6","ref":"refs/heads/master","pushedAt":"2024-03-04T11:08:57.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"windows: change MAX_STRING_WCHARS to 126 (#627)\n\nWin32 HID API doc says: For USB devices, the maximum string length is 126 wide characters (not including the terminating NULL character).\r\n\r\nFor certain USB devices, using a buffer larger or equal to 127 wchars results in successful completion of HID API functions, but a broken string is stored in the output buffer. This behaviour persists even if HID API is bypassed and HID IOCTLs are passed to the HID driver directly (IOCTL_HID_GET_MANUFACTURER_STRING, IOCTL_HID_GET_PRODUCT_STRING, etc).\r\n\r\nSo, the buffer MUST NOT exceed 126 wchars.\r\n\r\nwindows: refactor ULONGLONG hid_internal_get_info(...) -> hid_internal_detect_bus_type_result hid_internal_detect_bus_type(...)\r\n\r\nhid_internal_detect_bus_type is now only responsible for detection of the bus type; rename it accordingly. Also, mixing an internal flag and DEV_INST into an ULONGLONG retval feels kinda hackish; use a cleaner approach instead (add an internal flag to help distinguishing between BLUETOOTH and BLE devices, then clear it once we are done).","shortMessageHtmlLink":"windows: change MAX_STRING_WCHARS to 126 (#627)"}},{"before":"b619fa8cac7c30fd238f63f98e0484770180adcb","after":"9bc1afbb6501cc1c6a3462b2e57e341f89b9574f","ref":"refs/heads/gh-pages","pushedAt":"2023-11-22T10:27:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 7011fa98af2dde00c298105735e470de800288c7","shortMessageHtmlLink":"deploy: 7011fa9"}},{"before":"023a0027bafe29512d3de2a15451d9957e08c094","after":null,"ref":"refs/heads/macos-barrier-fix","pushedAt":"2023-11-22T10:26:17.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"}},{"before":"4168d875213c6739c4e66f863a9300585c9a0682","after":"7011fa98af2dde00c298105735e470de800288c7","ref":"refs/heads/master","pushedAt":"2023-11-22T10:26:16.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"pthread_barrier_wait: properly check the wait condition (#644)\n\n- minor code-style fixes;","shortMessageHtmlLink":"pthread_barrier_wait: properly check the wait condition (#644)"}},{"before":"626fdc12ea3d824d39a4d81788857fd2b4175f6e","after":"023a0027bafe29512d3de2a15451d9957e08c094","ref":"refs/heads/macos-barrier-fix","pushedAt":"2023-11-20T09:54:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Update mac/hid.c","shortMessageHtmlLink":"Update mac/hid.c"}},{"before":"091e9d5aee4023bc16d4701fb14009327a012f69","after":"626fdc12ea3d824d39a4d81788857fd2b4175f6e","ref":"refs/heads/macos-barrier-fix","pushedAt":"2023-11-20T09:54:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"Update mac/hid.c","shortMessageHtmlLink":"Update mac/hid.c"}},{"before":"dae9e11e5e8f6e9152a895dfa3da0c098c5a8714","after":"091e9d5aee4023bc16d4701fb14009327a012f69","ref":"refs/heads/macos-barrier-fix","pushedAt":"2023-11-19T15:36:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"pthread_barrier_wait: properly check the wait condition\n\n- minor code-style fixes;","shortMessageHtmlLink":"pthread_barrier_wait: properly check the wait condition"}},{"before":null,"after":"dae9e11e5e8f6e9152a895dfa3da0c098c5a8714","ref":"refs/heads/macos-barrier-fix","pushedAt":"2023-11-19T15:35:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Youw","name":"Ihor Dutchak","path":"/Youw","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5939659?s=80&v=4"},"commit":{"message":"pthread_barrier_wait: properly check the wait condition","shortMessageHtmlLink":"pthread_barrier_wait: properly check the wait condition"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEPDgAZQA","startCursor":null,"endCursor":null}},"title":"Activity · libusb/hidapi"}