Coverage ledger for the Logitech HID++ 2.0 keyboard driver.
- Logitech's public HID++ 2.0 documentation (
Logitech/cpg-docs). - OpenLogi's reference pages for
0x0000root,0x0003deviceInformation,0x1004unifiedBattery,0x8040brightnessControl,0x8060reportRate and0x8061extendedAdjustableReportRate, read 2026-10-29. - G HUB's shipped device catalog (the
ghub-web-cnmirror) for keyboard product ids, names and transport SKUs. - Local G HUB 2026.10 (
lghub.app) and its agent binary were inspected for the0x1B08function ids: 0 capabilities (long), 1 get rapid trigger, 2 set rapid trigger, 3 set key-travel events, 4 get key priority, 5 set key priority. - The agent's
F1b08AnalogKeysTag::Row::toBytescode emits an 8-bit control index and a big-endian 16-bit value. Its constructor points to tag ID0x1B08. The separateIAnalogKeysProfileTag::toBytescode emits the same three-byte row shape for legacy actuation tags. The0x8102methods name functions 6–7 for tag reads and 9–11 for tag writes/commit. Static disassembly confirms function 6 starts with[profile, tag_id_BE16, args…], function 9 with[tag_id_BE16, length_BE16, args…], function 10 with a fragment index and 15 padded data bytes, and function 11 takes a BE32 value. The function 11 value and session conditions remain under investigation. - The agent's
ActuationPointProfileTagconstructor fixes tag ID0x0123;RapidTriggerProfileTagfixes tag ID0x0124. The modern0x1B08tag and those legacy tags must be chosen from the device's advertised tag list. No physical-unit conversion is inferred from their raw u16 values. - OpenLogi's
0x8081per-key lighting and0x1B04control pages for the zone and remap framing. - The PeriHub G HUB captures
and the Logitech agent confirm the
0x4523Game Mode bitmap. Logitech's G915 X TKL device metadata identifies the physical controls. On the C547 receiver the driver read Game Mode state and the 128-entry control list, sent a Caps Lock change and restored the five factory blocks. The keyboard acknowledged both writes. - OpenLogi's
0x8040wire reference for the illumination capability bit and functions 3–4. - OpenLogi's
0x8081wire reference for four distinct zone/RGB tuples per function-1 frame and the echoed zone IDs. - OpenLogi's published 0x8070 colorLedEffects wire reference
and GitHub implementation
plus its wire type definitions:
fn 0 returns zone count and a BE extended-capability mask (bit 0 permits
getZoneEffect); fn 1 reads[zone, 0, 0]and returns the echoed zone, BE location and effect count; fn 2 reads[zone, ordinal, 0]and returns the zone-local effect id; fn 3 writes a 16-byte frame with ten effect parameters and zero persistence (RAM only); fn 14 reads[zone, 0, 0]for the currently configured RAM effect. Fixed color has effect id1and RGB parameters at bytes 2–4 of the fn 3 payload. Retrieved 2026-10-29. - OpenLogi's 0x8100 onboardProfiles summary reports sector I/O and CRC framing but no typed OpenLogi implementation or verified profile-format layout. It does not authenticate a safe edit of G HUB's analog profile-header bytes.
The G915 X LIGHTSPEED TKL (firmware 85.00) was exercised on macOS through a physical C547 using the integrated OpenMouse transport. Tests also use a fake HID++ endpoint. Direct USB and visual confirmation of reactive Ripple remain pending for this model.
No other Logitech keyboard has had a write path exercised through this package. Tests use a fake HID++ endpoint that answers the documented frames; they prove framing, feature resolution and read-back flow, not firmware behavior on a specific model.
A G915 paired with a C541 LIGHTSPEED receiver answered on slot 1 (firmware
77.02). Through this package on Linux, identity, brightness (0x8040, 0-100),
0x8081 zone presence (123 zones), 0x8071 clusters (2) and 0x1B04 controls
(2) all read successfully. The board has no 0x1004; its 0x1001 battery
voltage (4117 mV, discharging) maps to 94% on the voltage curve above. The board does not advertise 0x1004
unifiedBattery, 0x8061 extended report rate, 0x1B08 analog keys or 0x8070
legacy zones; it advertises 0x8060 report rate, which this driver does not
implement. No write path was exercised, so the catalog entries stay
verified: false.
The K400 (wpids 0x400E, 0x4024) and K400 Plus (0x404D) are Unifying
office keyboards, catalogued from Solaar's device descriptors
rather than G HUB. They have no USB product id of their own, so they are only
reached through a Unifying receiver (0xC52B, 0xC532). Older firmware may
not implement 0x0003 deviceInformation; when no slot names a catalogued
keyboard that way, the driver reads the receiver's HID++ 1.0 pairing register
(0x83 0xB5, sub-address 0x20 + slot - 1, wpid at bytes 3–4 of the reply)
and addresses the slot whose wpid is catalogued, as Solaar does.
Battery comes from the original 0x1000 batteryStatus ([level%, next%, status], read with fn 0) when neither 0x1004 nor 0x1001 is advertised.
Fn inversion (0x40A0, or 0x40A2 when that is absent) reads bit 0 of fn 0
and writes [state] with fn 1, verified by a read-back. State 1 means the top
row sends media keys without Fn and F1–F12 need Fn; the K400 Plus reads
01 01 (state, then power-on default) after a power cycle.
A K400 Plus (wpid 0x404D, HID++ 4.1) on a 0xC52B receiver was probed
read-only and then driven through OpenMouse. It advertises 0x0003, 0x0005,
0x1000, 0x1B04, 0x2005, 0x40A2, 0x4100, 0x4521, 0x6100, 0x6501
and engineering features. Fn inversion over 0x40A2 was switched in the app
and the F-row behaviour changed. Further settings follow Solaar's handling:
0x4521keyboardDisableKeys: fn 0 capability mask, fn 1 disabled mask, fn 2 writes the mask (bits 1 Caps Lock, 2 Num Lock, 4 Scroll Lock, 8 Insert, 16 Win). This board reports0x1D(no Num Lock). Writes are read back.0x6501gesture2: fn 0 pages eight[high, low]fields per call untilhigh == 0x01; enable bits are numbered in field order over gestures that can be enabled or default on. Fn 1[offset, 1, 0xFF]reads an enable byte, fn 2[offset, 1, mask, value](long report) writes one bit. Parameter 4 is the pointer scale factor, big-endian, 256 = normal: fn 7[index, 0xFF]reads it, fn 6 the default, fn 8[index, value…, 0xFF]writes it. Only gesture 34 (Fn+click suppression) is flagged persistent; the other gesture settings are lost when the keyboard powers off.
Only gesture 34 survives a power cycle. Fn inversion and the disabled keys are lost as well, though neither feature reports persistence; Logi Options+ and Solaar keep these settings on the host and write them again after each reconnect.
Results on that K400 Plus, Windows 11, through the OpenMouse UI:
| Setting | Result |
|---|---|
Fn inversion (0x40A2) |
Works; lost when the keyboard powers off |
Disable keys (0x4521) |
Works; lost when the keyboard powers off (mask read back as 0x00) |
Pointer speed (0x6501 parameter 4) |
Works; lost when the keyboard powers off |
| Natural scrolling (gesture 45) | Works; lost when the keyboard powers off |
| Taps (gestures 1, 2, 10, 30) | Bits change and read back, no effect. The firmware does not flag them showInUi; tapping follows gesture 34 instead |
| Edge swipes (64, 65, 67), pinch zoom (84) | Bits change and read back, no visible effect. Flagged showInUi, but these are Windows 8 charm gestures |
The status reports every switchable gesture with its showInUi flag; the
OpenMouse panel offers natural scrolling, the two scroll axes and gesture 34
only. Battery was read at 90% over 0x1000.
0x1B04lists 20 controls, all in group 0 with no remap targets, so there is no firmware remap. Logi Options+ reassigns those keys by diverting them to host software, which a web page cannot keep running.0x2005(swap button cancel) and0x6100(raw touchpad reports) have no setting here.
The original MX Keys identifies as 0xB35B over Bluetooth LE and 0x408A
through a Unifying receiver, according to Solaar's MX Keys hardware report.
Its battery uses 0x1000. The multi-host Fn inversion feature
(0x40A3) reads with fn 0 [0xFF, 0, 0] and writes with fn 1
[0xFF, state, 0] for the current Easy-Switch host. The reply's second byte
is the state, which the driver reads back after a write.
Both connection paths are covered by simulated driver tests. The catalog entry is unverified on hardware through OpenMouse. MX Keys S and Mini use different device IDs and are not included.
HID++ 2.0 rides on usage page 0xFF00 (USB) or 0xFF43 (Bluetooth). Requests
are output reports on report id 0x10 (short, three parameters) or 0x11
(long, sixteen parameters); the function byte is (function << 4) | 0x05 and
the device index is 0xFF for a directly attached keyboard. Replies arrive as
input reports and are matched by device index, feature index and function.
Product ids are restricted to catalogued keyboards so the same predicate cannot claim a Logitech mouse or headset, which speak the same transport.
| Surface | Feature | Functions | Behavior |
|---|---|---|---|
| Identity | 0x0003 |
getDeviceInfo, getFwInfo, getSerialNumber |
Unit id, transport bits, model ids, firmware version, serial when advertised. |
| Battery | 0x1004 |
getBatteryCapabilities, getBatteryInfo |
Percentage only when the gauge capability is set; otherwise the coarse level. |
| Battery (legacy) | 0x1001, 0x1000 |
getBatteryVoltage, getBatteryLevelStatus |
Voltage curve for 0x1001; reported percentage and charge status for 0x1000. |
| Fn inversion | 0x40A0, 0x40A2, 0x40A3 |
getFnInversion, setFnInversion |
Reads and toggles whether F1–F12 or the media keys are the default, with read-back. Multi-host devices target the current Easy-Switch host. |
| Unifying pairing | Receiver register 0xB5 |
HID++ 1.0 long register read | Names a paired keyboard by wpid when it lacks 0x0003. |
| Polling rate | 0x8061 |
getActualReportRateList, getReportRate, setReportRate |
Reads the advertised mask, writes a discriminant and verifies the read-back. |
| Brightness and illumination | 0x8040 |
functions 0–4 | Reads the range and current brightness; writes big-endian brightness and verifies it. When the illumination capability is advertised, reads and toggles backlight power independently, with read-back. |
| Receiver | HID++ pairing slots 1–6 | Root getFeature + 0x0003 device information |
Probes each slot, matches the reported model ids against the keyboard catalog, and addresses that device index. |
| Analog switches | 0x1B08 |
functions 0–5 | Reads capabilities (raw bytes), rapid-trigger state and key-priority state; writes rapid trigger, key priority and key-travel events with read-back where a getter exists. |
| Per-key lighting | 0x8081 |
presence, individual zones, single-value zones, frame end | Reads present zones, paints one solid colour across them or stages different colours for selected zones, then commits with frame_end; optionally claims 0x8071 software control. The fn 1 staging reply is only an acknowledgement and is not compared with the requested zones. |
| RGB effects | 0x8071 |
Device and cluster info, effects, power modes, startup colors | The G915 X TKL runs live LIGHTSYNC in host mode using 0x8101 fn 6 and subscribes to hardware activity notifications. The driver returns control when closing the client and retries an interrupted handoff when that client can communicate again. It reads and verifies the two startup colors in 0x8071 nonvolatile configuration and preserves device flags when writing inactivity timers. |
| Legacy LED zones | 0x8070 |
info, zone info, effect info, set zone effect, get zone effect | Enumerates per-zone ordinals; reads the active RAM effect, applies a fixed color or a caller-supplied ten-byte raw effect for any advertised zone-local effect ID, and verifies the ordinal and all ten RAM parameter bytes when fn 14 is advertised. No EEPROM writes or undocumented effect-specific parameter encoding. |
| Key remapping | 0x1B04 |
count, info, reporting, set-reporting | Reads controls, their groups and legal targets, and remaps a control with device read-back. |
| Game Mode | 0x4523, 0x1B10 |
state and disabled-key bitmap, control count and pages | G915 X TKL over LIGHTSPEED. 0x4523 fn 1 bit 0 reports the physical button state. Fn 0 replaces the whole 16-byte bitmap, with an LSB-first bit per 0x1B10 index. Fn 1 of 0x1B10 returns eight big-endian control IDs per page. The driver preserves the five factory blocks and the keyboard acknowledges each write. The firmware does not return the current bitmap. |
| Onboard memory | 0x8101 |
capabilities, slot selection, user directory and profile files | G915 X TKL over LIGHTSPEED. Reads and selects the three slots with read-back. Edits name, key and logo lighting in active and idle states, timers, base-layer shortcuts and optional Game Mode blocks. Native Ripple is available on active keys. |
| Onboard lighting storage | 0x8071, 0x00D0 |
animation metadata, RGB frame upload | Stores user-generated key colors or timed lighting frames in either of the two animation slots. A profile can reference a stored animation. |
For 0x8101, fn 8 loads a sector and fn 12 reads sixteen buffer bytes at a
big-endian offset. Fn 2 sizes the write buffer, fn 3 appends up to sixteen
bytes and returns a one-based page number. Fn 7 commits [bank, sector, sizeBE16, crc32BE32]. The directory CRC covers its count and entries through
the terminator. Profile CRCs cover the entire 99-byte payload. The driver
stages and verifies a copy in an unreferenced user sector before updating
the directory. Fn 6 reads or switches mode and fn 9 selects the slot using
its CRC. Activation enables firmware power management and hands LIGHTSYNC
zones and power back to the keyboard via 0x8071 fn 5. When saving a
zone effect the driver clears the combined-lighting bit for its power state,
so the firmware uses independent zone effects instead of a combined preset.
In independent mode the profile stores logo at byte 30 and keys at byte 41,
then idle logo at 52 and idle keys at 63. Live LIGHTSYNC reports keys as
cluster 0 (location 1) and logo as cluster 1 (location 2) on this model.
A LIGHTSPEED test saved and re-read a temporary third profile,
activated it and verified restoration of all original slots and the mode.
The public G915 X captures
document the read and selection commands.
Base-layer assignments use a 0x1B05 kind-1 file with a reference at byte 93
of the verified profile layout. OpenMouse stages the updated table and profile
before publishing their directory entries together. An F5 shortcut, all four
lighting targets and native Ripple were saved and read back on the TKL. The
keyboard also acknowledged an Aurora upload, reported it after reconnection
and accepted activating a profile referencing that animation. PeriHub's
assignment captures
and the public animation capture
document the corresponding payloads.
- Per-key analog actuation through the FKC file (
0x1B05) / modular profile tags (0x8102). The row body codec for G HUB'sF1b08AnalogKeysTagis available as[control_index, value_hi, value_lo], but the0x8102session/tag transfer and profile commit are not wired yet. The global0x1B08switches are implemented. - PRO X TKL RAPID (
C35B) and G515 RAPID TKL (C363) are now catalogued from OpenLogi's model IDs and the OpenRGB device report. Neither has been connected to this package. - The six analog bytes in the
0x8100profile header (0x72..0x77), which G HUB maps to itsAnalogSettingsmessage, are not exposed either. - Custom/multi-zone effect maps and named animations for legacy
0x8070. The0x8081zone-colour setter has no physical key-to-zone layout map. Non-fixed legacy effects are accessible only through the raw ten-byte API: OpenLogi documents the frame and effect IDs, but parameter semantics depend on the individual effect and are not established for keyboard models. Also not implemented: onboard0x8100profile management. The header's six analog bytes alone do not establish profile-slot addressing, sector write prerequisites or full-header integrity/CRC handling. - Full hardware verification across catalogued models and transports.
The driver never writes a feature the keyboard did not advertise. Setters with
a getter read the value back before reporting success; write-only frames
(0x8081 zone paint / frame_end, 0x1B08 key-travel events, 0x4523 bitmap) are identified
as such.