Skip to content

enable configuring the bInterval on hid devices#1087

Closed
koltenpearson wants to merge 2 commits intomicropython:masterfrom
koltenpearson:master
Closed

enable configuring the bInterval on hid devices#1087
koltenpearson wants to merge 2 commits intomicropython:masterfrom
koltenpearson:master

Conversation

@koltenpearson
Copy link
Copy Markdown

In the process of creating a usb keyboard using the pi pico, I was not able to match the amount of HID reports that the qmk firmware could send, and eventually tracked it down to the bInterval of the qmk firmware being 1, while this one defaults to 8.

So yeah, this will let us configure it, rather than having it hardcoded

Copy link
Copy Markdown
Contributor

@andrewleech andrewleech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find, yes this interval controls the rate of messages sent to the host which can affect the responsiveness of the hid device.

Do you think a comment on the line or brief description elsewhere would help others understand what this does? I know lots of other things here aren't particularly documented either though...

Regardless there's a ci failure noting the commit message needs a little fixup to match standard project guidance.

@koltenpearson koltenpearson force-pushed the master branch 5 times, most recently from d67a936 to c3117ec Compare February 23, 2026 17:09
Signed-off-by: kolten <koltenpearson@fastmail.com>
@koltenpearson
Copy link
Copy Markdown
Author

Finally got it happy with the commit message. I added a small comment as well

@koltenpearson
Copy link
Copy Markdown
Author

koltenpearson commented Mar 19, 2026 via email

Signed-off-by: kolten <koltenpearson@fastmail.com>
@projectgus
Copy link
Copy Markdown
Contributor

Thanks, @koltenpearson!

@dpgeorge
Copy link
Copy Markdown
Member

dpgeorge commented Apr 1, 2026

Rebased, squashed and merged in a1a9e57

@dpgeorge dpgeorge closed this Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants