Skip to content

Commit c0c9b50

Browse files
authored
Add device Steelseries Arctis 7P (#371)
1 parent 981fe50 commit c0c9b50

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ talking. This differs from a simple loopback via PulseAudio as you won't have an
2424
| Logitech G PRO Series | x | x | | | x | | | | | | | | | | |
2525
| Logitech G PRO X 2 | x | | | | x | | | | | | | | | | |
2626
| Logitech Zone Wired/Zone 750 | x | | | | | | x | x | | | | | | | |
27-
| SteelSeries Arctis (1/7X) Wireless | x | x | | | x | | | | | | | | | | |
27+
| SteelSeries Arctis (1/7X/7P) Wireless | x | x | | | x | | | | | | | | | | |
2828
| SteelSeries Arctis (7/Pro) | x | x | | x | x | x | | | | | | | | | |
2929
| SteelSeries Arctis 9 | x | x | | | x | x | | | | | | | | | |
3030
| SteelSeries Arctis Pro Wireless | x | x | | | x | | | | | | | | | | |

src/devices/steelseries_arctis_1.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ static struct device device_arctis;
1212
#define ID_ARCTIS_1 0x12b3
1313
#define ID_ARCTIS_1_XBOX 0x12b6
1414
#define ID_ARCTIS_7X 0x12d7
15+
#define ID_ARCTIS_7P 0x12d5
1516

16-
static const uint16_t PRODUCT_IDS[] = { ID_ARCTIS_1, ID_ARCTIS_1_XBOX, ID_ARCTIS_7X };
17+
static const uint16_t PRODUCT_IDS[] = { ID_ARCTIS_1, ID_ARCTIS_1_XBOX, ID_ARCTIS_7X, ID_ARCTIS_7P };
1718

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

30-
strncpy(device_arctis.device_name, "SteelSeries Arctis (1/7X) Wireless", sizeof(device_arctis.device_name));
31+
strncpy(device_arctis.device_name, "SteelSeries Arctis (1/7X/7P) Wireless", sizeof(device_arctis.device_name));
3132

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

0 commit comments

Comments
 (0)