|
|
@ -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";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|