Add support for the Holtek A09F RGB mouse, including drivers and ligh…#93
Open
juampe wants to merge 1 commit into
Open
Add support for the Holtek A09F RGB mouse, including drivers and ligh…#93juampe wants to merge 1 commit into
juampe wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for the Phoenix Void RGB gaming mouse (Holtek A09F chip, VID
0x04D9/ PID0xA09F, also sold as E-Signal LUOM G10). The driver was implemented from scratch by reverse-engineering USB captures from the device.New Files
Controllers/HoltekController/HoltekA09FController/HoltekA09FController.hLow-level protocol driver header. Defines:
HOLTEK_A09F_MODE_VALUE_*)HoltekA09FControllerclass: constructor/destructor,SetMode(),SetDPIColors(),IsReady()Controllers/HoltekController/HoltekA09FController/HoltekA09FController.cppLow-level driver implementation:
0x03)IsReady()SendSelector(): sends an 8-byte EP0 Feature SET_REPORT (bmRequestType=0x21,bRequest=0x09,wValue=0x0300,wIndex=2) to prime each transactionSendBlock(): sends a 32-byte payload vialibusb_interrupt_transferSendApplySequence(): executes the full 6-transaction protocol (TX0–TX5) that configures mode + DPI colours and persists the setting to device flashSetMode(): selects the mode selector, handles the Off mode (standard selector + zeroed B1)SetDPIColors(): packs up to 8 RGB triplets into the B1 block and re-sends the apply sequenceControllers/HoltekController/HoltekA09FController/RGBController_HoltekA09F.h/.cppOpenRGB integration layer:
DEVICE_TYPE_MOUSE, vendor"Holtek"MODE_FLAG_AUTOMATIC_SAVE(device persists settings on every apply — no separate save command exists in the protocol)MODE_FLAG_HAS_PER_LED_COLOR | MODE_COLORS_PER_LED"DPI Stages"(linear, 8 LEDs — one per DPI stage), each LED individually addressableDeviceUpdateLEDs()→SetDPIColors();DeviceUpdateMode()→SetMode()Modified Files
Controllers/HoltekController/HoltekControllerDetect.cpp#includedirectives for the new controller pair#define HOLTEK_A09F_PID 0xA09FDetectHoltekA09FControllers(): opens the HID path, constructsHoltekA09FController, checksIsReady()to skip duplicate collection entries, and registers theRGBController_HoltekA09FREGISTER_HID_DETECTOR_I("Phoenix Void", DetectHoltekA09FControllers, HOLTEK_VID, HOLTEK_A09F_PID, 1)— interface 1, no usage-page filter (the device exposes the relevant interface there)Protocol Details
The Holtek A09F firmware accepts configuration via 6 sequential transactions. Each transaction is gated by one or more 8-byte EP0 selector writes that prime the firmware state machine, followed by one or two 32-byte interrupt OUT payloads on endpoint
0x03:The mode is encoded entirely in the selector at position 7 of TX0. All data blocks except B1 are fixed across all modes and colour configurations. Settings survive USB reconnection, OS reboots, and KVM switches.
Checklist
./openrgb --noautoconnect --device N --mode Static --color FF0000— colour applied and persists after rebootTesting Notes
Tested on:
0x04D9/ PID0xA09FBreaking Changes
None. All existing Holtek detectors (
A070,A1FA) are unchanged. The new detector is additive.