device: Use LOGI MOUSE/KB instead of device_name

pull/1316/head
Alessandro Toia 1 month ago
parent 0e92ec4790
commit 7497b1da3f

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

Loading…
Cancel
Save