Skip to content

Commit

Permalink
Add device Steelseries Arctis 7P (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbangert authored Sep 27, 2024
1 parent 981fe50 commit c0c9b50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ talking. This differs from a simple loopback via PulseAudio as you won't have an
| Logitech G PRO Series | x | x | | | x | | | | | | | | | | |
| Logitech G PRO X 2 | x | | | | x | | | | | | | | | | |
| Logitech Zone Wired/Zone 750 | x | | | | | | x | x | | | | | | | |
| SteelSeries Arctis (1/7X) Wireless | x | x | | | x | | | | | | | | | | |
| SteelSeries Arctis (1/7X/7P) Wireless | x | x | | | x | | | | | | | | | | |
| SteelSeries Arctis (7/Pro) | x | x | | x | x | x | | | | | | | | | |
| SteelSeries Arctis 9 | x | x | | | x | x | | | | | | | | | |
| SteelSeries Arctis Pro Wireless | x | x | | | x | | | | | | | | | | |
Expand Down
5 changes: 3 additions & 2 deletions src/devices/steelseries_arctis_1.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ static struct device device_arctis;
#define ID_ARCTIS_1 0x12b3
#define ID_ARCTIS_1_XBOX 0x12b6
#define ID_ARCTIS_7X 0x12d7
#define ID_ARCTIS_7P 0x12d5

static const uint16_t PRODUCT_IDS[] = { ID_ARCTIS_1, ID_ARCTIS_1_XBOX, ID_ARCTIS_7X };
static const uint16_t PRODUCT_IDS[] = { ID_ARCTIS_1, ID_ARCTIS_1_XBOX, ID_ARCTIS_7X, ID_ARCTIS_7P };

static int arctis_1_send_sidetone(hid_device* device_handle, uint8_t num);
static BatteryInfo arctis_1_request_battery(hid_device* device_handle);
Expand All @@ -27,7 +28,7 @@ void arctis_1_init(struct device** device)
device_arctis.idProductsSupported = PRODUCT_IDS;
device_arctis.numIdProducts = sizeof(PRODUCT_IDS) / sizeof(PRODUCT_IDS[0]);

strncpy(device_arctis.device_name, "SteelSeries Arctis (1/7X) Wireless", sizeof(device_arctis.device_name));
strncpy(device_arctis.device_name, "SteelSeries Arctis (1/7X/7P) Wireless", sizeof(device_arctis.device_name));

device_arctis.capabilities = B(CAP_SIDETONE) | B(CAP_BATTERY_STATUS) | B(CAP_INACTIVE_TIME);
device_arctis.capability_details[CAP_SIDETONE] = (struct capability_detail) { .usagepage = 0xff43, .usageid = 0x202, .interface = 0x03 };
Expand Down

0 comments on commit c0c9b50

Please sign in to comment.