# fix\(desktop\): connect the Codex Micro over Bluetooth · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/9d98c8d4f0076e843dfe60520b7a97ec4b7cd1fe)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 9d98c8d4f0076e843dfe60520b7a97ec4b7cd1fe

Requested commit: 9d98c8d4f0076e843dfe60520b7a97ec4b7cd1fe

Commit: 9d98c8d4f0076e843dfe60520b7a97ec4b7cd1fe

Tree: 8ac744d6db3fcefba44d38b270b51f3b3fbac0e4

Author: Nikita

Committer: Nikita

## Message

```
fix(desktop): connect the Codex Micro over Bluetooth

Over Bluetooth LE the keyboard, consumer, mouse and vendor collections share
one HID handle, so non-vendor reports were parsed as RPC traffic. Only accept
vendor reports, follow the live endpoint on every poll (sleep, channel switch,
cable plugged in) and prefer USB when both are listed. Settings show the link.

Also addresses review: load node-hid lazily, survive a rejected close(), keep
a newer state event over the initial getState() reply, stable menu item keys,
and @variant dark for the preview colours.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [b4df7f629400c06998197713a1c43f14be4723b1](https://git.cafe/pingdotgg/t3code/commit/b4df7f629400c06998197713a1c43f14be4723b1?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/9d98c8d4f0076e843dfe60520b7a97ec4b7cd1fe?format=markdown)
