device: Use LOGI MOUSE/KB instead of device_name

pull/1316/head
Alessandro Toia 2 weeks ago
parent 0e92ec4790
commit 7497b1da3f

@ -160,9 +160,11 @@ void device_info () {
//Logitech Devices
if (check_mouse == true) {
if (path.find("hidpp_battery") != std::string::npos) {
if (std::getline(device_name, line)) {
device_data[device_count].name = line;
}
// Find a good way truncate name or retreive device type before using this
// if (std::getline(device_name, line)) {
// device_data[device_count].name = line;
// }
device_data[device_count].name = "LOGI MOUSE/KB";
}
}

Loading…
Cancel
Save