diff --git a/src/devices/steelseries_arctis_7_plus.c b/src/devices/steelseries_arctis_7_plus.c index 4e95cbd..432a1cd 100644 --- a/src/devices/steelseries_arctis_7_plus.c +++ b/src/devices/steelseries_arctis_7_plus.c @@ -27,6 +27,7 @@ static struct device device_arctis; #define EQUALIZER_BAND_MAX +12 static const uint16_t PRODUCT_IDS[] = { ID_ARCTIS_7_PLUS, ID_ARCTIS_7_PLUS_PS5, ID_ARCTIS_7_PLUS_XBOX, ID_ARCTIS_7_PLUS_DESTINY }; +static EqualizerInfo EQUALIZER = { EQUALIZER_BANDS_SIZE, 0, 0.5, EQUALIZER_BAND_MIN, EQUALIZER_BAND_MAX }; static int arctis_7_plus_send_sidetone(hid_device* device_handle, uint8_t num); static int arctis_7_plus_send_inactive_time(hid_device* device_handle, uint8_t num); @@ -42,6 +43,7 @@ void arctis_7_plus_init(struct device** device) device_arctis.idVendor = VENDOR_STEELSERIES; device_arctis.idProductsSupported = PRODUCT_IDS; device_arctis.numIdProducts = sizeof(PRODUCT_IDS) / sizeof(PRODUCT_IDS[0]); + device_arctis.equalizer = &EQUALIZER; strncpy(device_arctis.device_name, "SteelSeries Arctis 7+", sizeof(device_arctis.device_name)); diff --git a/src/devices/steelseries_arctis_nova_3.c b/src/devices/steelseries_arctis_nova_3.c index 628dd6c..f33df7e 100644 --- a/src/devices/steelseries_arctis_nova_3.c +++ b/src/devices/steelseries_arctis_nova_3.c @@ -17,6 +17,7 @@ static struct device device_arctis; static const uint16_t PRODUCT_IDS[] = { ID_ARCTIS_NOVA_3 }; static const uint8_t SAVE_DATA[MSG_SIZE] = { 0x06, 0x09 }; // Command to save settings to headset +static EqualizerInfo EQUALIZER = { EQUALIZER_BANDS_SIZE, 0, 0.5, EQUALIZER_BAND_MIN, EQUALIZER_BAND_MAX }; static int arctis_nova_3_send_sidetone(hid_device* device_handle, uint8_t num); static int arctis_nova_3_send_equalizer_preset(hid_device* device_handle, uint8_t num); @@ -29,6 +30,7 @@ void arctis_nova_3_init(struct device** device) device_arctis.idVendor = VENDOR_STEELSERIES; device_arctis.idProductsSupported = PRODUCT_IDS; device_arctis.numIdProducts = sizeof(PRODUCT_IDS) / sizeof(PRODUCT_IDS[0]); + device_arctis.equalizer = &EQUALIZER; strncpy(device_arctis.device_name, "SteelSeries Arctis Nova 3", sizeof(device_arctis.device_name)); diff --git a/src/devices/steelseries_arctis_nova_pro_wireless.c b/src/devices/steelseries_arctis_nova_pro_wireless.c index e158881..4e44533 100644 --- a/src/devices/steelseries_arctis_nova_pro_wireless.c +++ b/src/devices/steelseries_arctis_nova_pro_wireless.c @@ -48,6 +48,7 @@ enum { }; static const uint16_t PRODUCT_IDS[] = { ID_ARCTIS_NOVA_PRO_WIRELESS_BASE_STATION }; +static EqualizerInfo EQUALIZER = { EQUALIZER_BANDS_SIZE, 0, 0.5, EQUALIZER_BAND_MIN, EQUALIZER_BAND_MAX }; static int set_sidetone(hid_device* device_handle, uint8_t num); static BatteryInfo get_battery(hid_device* device_handle); @@ -64,6 +65,7 @@ void arctis_nova_pro_wireless_init(struct device** device) device_arctis.idVendor = VENDOR_STEELSERIES; device_arctis.idProductsSupported = PRODUCT_IDS; device_arctis.numIdProducts = sizeof(PRODUCT_IDS) / sizeof(PRODUCT_IDS[0]); + device_arctis.equalizer = &EQUALIZER; strncpy(device_arctis.device_name, "SteelSeries Arctis Nova Pro Wireless", sizeof(device_arctis.device_name));