Skip to content

Logitech G PRO X 2 LIGHTSPEED Centurion protocol#512

Open
ChrisLauinger77 wants to merge 4 commits intoSapd:masterfrom
ChrisLauinger77:gprox2_features
Open

Logitech G PRO X 2 LIGHTSPEED Centurion protocol#512
ChrisLauinger77 wants to merge 4 commits intoSapd:masterfrom
ChrisLauinger77:gprox2_features

Conversation

@ChrisLauinger77
Copy link
Copy Markdown
Contributor

@ChrisLauinger77 ChrisLauinger77 commented Apr 18, 2026

Changes made

Changed from raw package to centurion protocol (for existing battery inactive time and sidetone)
Equalizer with presets is implemented / added

Checklist

  • [x ] I adjusted the README (if needed)
  • For new features in HeadsetControl: I discussed it beforehand in Issues or Discussions and adhered to the wiki

…IGHTSPEED

Implements the multi-layered Centurion communication protocol to enable equalizer and parametric equalizer capabilities for the Logitech G PRO X 2 LIGHTSPEED. This replaces the previous basic HID implementation and updates sidetone control to use the feature-based protocol.
Implements the CAP_EQUALIZER_PRESET capability by providing pre-defined 5-band equalizer settings matching those found in Logitech G Hub (Flat, Bass Boost, Team Chat, Shooter, and MOBA).
@ChrisLauinger77
Copy link
Copy Markdown
Contributor Author

ChrisLauinger77 commented Apr 18, 2026

Info was gathered here:
https://github.com/ksanislo/Solaar-NG?tab=readme-ov-file

Implementation was done using GPT model 5.4

@mryll fyi

Should fix #477 for good.
maybe you also wanna adopt the G522 @iowi479 ? the #488 could be closed, too

@ChrisLauinger77 ChrisLauinger77 changed the title Logitech X2 PRO centurion protocol Logitech G PRO X 2 LIGHTSPEED Centurion protocol Apr 18, 2026
Copy link
Copy Markdown
Owner

@Sapd Sapd left a comment

Choose a reason for hiding this comment

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

A few things from a read-through.

Comment thread lib/devices/logitech_gpro_x2_lightspeed.hpp Outdated
Comment thread lib/devices/logitech_gpro_x2_lightspeed.hpp Outdated
Comment thread lib/devices/logitech_gpro_x2_lightspeed.hpp
Comment thread lib/devices/logitech_gpro_x2_lightspeed.hpp
Comment thread lib/devices/logitech_gpro_x2_lightspeed.hpp Outdated
Comment thread lib/devices/protocols/logitech_centurion_protocol.hpp
Comment thread lib/devices/protocols/logitech_centurion_protocol.hpp Outdated
Comment thread lib/devices/protocols/logitech_centurion_protocol.hpp
…obustness

Refines the Logitech G PRO X 2 implementation by adding proper tracking for battery query duration and expanding charging state detection. It also introduces a size limit check for Centurion bridge messages, improves equalizer info caching logic, and adds comprehensive unit tests for these protocol behaviors.
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.

2 participants