Skip to content

Commit

Permalink
Document the name of several recently uncovered features
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrovanzella authored and cvuchener committed Jun 5, 2019
1 parent 6db92d3 commit fed824f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/tools/hidpp-list-features.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,41 @@ static const std::map<uint16_t, const char *> HIDPP20Features = {
{ 0x0003, "Device FW version" },
{ 0x0005, "Device name" },
{ 0x0006, "Device groups" },
{ 0x0007, "Device Friendly Name" },
{ 0x0020, "Reset" },
{ 0x0021, "Crypto Identifier"},
{ 0x00c0, "DFUcontrol" },
{ 0x00c1, "DFUcontrol 2" },
{ 0x00c2, "DFUcontrol 3" },
{ 0x00d0, "DFU" },
{ 0x1000, "Battery status" },
{ 0x1001, "Battery voltage" },
{ 0x1010, "Charging control" },
{ 0x1300, "LED control" },
{ 0x1800, "Generic Test" },
{ 0x1802, "Device reset" },
{ 0x1805, "OOBState" },
{ 0x1806, "Configurable device properties" },
{ 0x1814, "Change host" },
{ 0x1815, "Hosts info" },
{ 0x1981, "Backlight" },
{ 0x1982, "Backlight" },
{ 0x1983, "Backlight" },
{ 0x1a00, "Presenter control" },
{ 0x1a01, "3D sensor" },
{ 0x1b00, "Reprog controls" },
{ 0x1b01, "Reprog controls v2" },
{ 0x1b02, "Reprog controls v2.2" },
{ 0x1b03, "Reprog controls v3" },
{ 0x1b04, "Reprog controls v4" },
{ 0x1bc0, "Persistent remappable action" },
{ 0x1d4b, "Wireless device status" },
{ 0x1e00, "Enable hidden features" },
{ 0x1f1f, "Firmware Properties" },
{ 0x1f20, "ADC Measurement" },
{ 0x2001, "Left right swap" },
{ 0x2005, "Swap button" },
{ 0x2006, "Pointer Axes Orientation" },
{ 0x2100, "Vertical scrolling" },
{ 0x2110, "Smart shift" },
{ 0x2120, "Hi-res scrolling" },
Expand All @@ -68,13 +87,17 @@ static const std::map<uint16_t, const char *> HIDPP20Features = {
{ 0x2400, "Hybrid tracking" },
{ 0x40a0, "Fn inversion" },
{ 0x40a2, "New fn inversion" },
{ 0x40a3, "Fn inversion v3" },
{ 0x4100, "Encryption" },
{ 0x4220, "Lock key state" },
{ 0x4301, "Solar dashboard" },
{ 0x4520, "Keyboard layout" },
{ 0x4521, "Keyboard disable" },
{ 0x4522, "Disable keys by usage" },
{ 0x4530, "Dualplatform" },
{ 0x4531, "Multiplatform" },
{ 0x4540, "Keyboard layout 2" },
{ 0x4600, "Crown" },
{ 0x6010, "Touchpad FW items" },
{ 0x6011, "Touchpad SW items" },
{ 0x6012, "Touchpad Win8 FW items" },
Expand All @@ -86,11 +109,21 @@ static const std::map<uint16_t, const char *> HIDPP20Features = {
{ 0x8010, "G-key" },
{ 0x8020, "M-keys" },
{ 0x8030, "MR" },
{ 0x8040, "Brightness control" },
{ 0x8060, "Report rate" },
{ 0x8070, "Color LED effects" },
{ 0x8071, "RGB Effects" },
{ 0x8080, "Per-key lighting" },
{ 0x8081, "Per-key lighting v2" },
{ 0x8090, "Mode status" },
{ 0x8100, "Onboard profiles" },
{ 0x8110, "Mouse button spy" },
{ 0x8111, "Latency monitoring" },
{ 0x8120, "Gaming Attachments" },
{ 0x8123, "Force Feedback" },
{ 0x8300, "Sidetone" },
{ 0x8310, "Equalizer" },
{ 0x8320, "Headset out" },
};

void testRegister (HIDPP10::Device *dev, std::size_t register_size, uint8_t address, bool test_write = false)
Expand Down

0 comments on commit fed824f

Please sign in to comment.