Monitor and Laptop device types
This commit is contained in:
parent
d296f770b6
commit
20f6565f44
22 changed files with 92 additions and 59 deletions
|
|
@ -25,7 +25,7 @@
|
|||
#define LG_27GN950_B_PID 0x9A8A
|
||||
#define LG_38GL950G_PID 0x9A57
|
||||
|
||||
void DetectLGMonitorControllers(hid_device_info* info, const std::string& name)
|
||||
static void DetectLGMonitorControllers(hid_device_info* info, const std::string& name)
|
||||
{
|
||||
hid_device* dev = hid_open_path(info->path);
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ RGBController_LGMonitor::RGBController_LGMonitor(LGMonitorController* controller
|
|||
{
|
||||
controller = controller_ptr;
|
||||
vendor = "LG";
|
||||
type = DEVICE_TYPE_ACCESSORY;
|
||||
type = DEVICE_TYPE_MONITOR;
|
||||
description = "LG Monitor";
|
||||
location = controller->GetDeviceLocation();
|
||||
serial = controller->GetSerialString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue