Commit Graph

70 Commits

Author SHA1 Message Date
James Buren
66109be668 Properly fix how how hidapi and libusb dependencies are handled 2024-08-05 01:14:17 +00:00
Adam Honse
d15ce7d7ab Update Logitech common controller files to new standardized header comment 2024-05-31 11:31:32 -05:00
Jonathan Guzman
7b2534a3a5 Add Logitech G733 2nd variant 2024-04-07 02:14:51 +00:00
Chris
1deae16211 Adding Logitech G635 to the Logitech common controller
+ Adding LOGITECH_G635_PID
+ Registering detector
* Small adjustment to PID ordering for readability
2023-12-21 10:09:38 +11:00
morg
e6b16ff7c4 Add support for Logitech G203 mouse variant 2023-08-14 15:03:56 +00:00
Chris M
a67cf011d5 Added Dummy devices for Logitech receivers for UDEV script
* Added Dummy detector for Logitech Lightspeed receiver
* Added Dummy detector for Logitech Powerplay receiver
* Resolves #3375
2023-05-28 10:47:32 +10:00
Chris
856fbc1bb2 Fixing regression bug for the Logitech x56 HOTAS introduced in cac67592
* Added extra IPU detectors for the older x56 hardware
* Closes #2574
2023-01-26 04:30:00 +00:00
Chris
612c809b75 Initial commit for the Logitech G633 to resolve #2911
* Adding the G633 PID to LogitechControllerDetect.cpp
* Registering the detector for the common controller
* Fixing the indexing swap issue for LogitechLightspeedController
* Removing the `bright_cycle_swap` hack and using the queried effects index to set the mode.value for each mode
2022-12-06 12:45:46 +11:00
Chris
455a1f9172 Adjust Windows Logitech Lightspeed detection to resolve #2621
+ Changing to IPU detector to ensure 1 hit (per device)
+ Bundling all usages on Interface 2
2022-11-24 18:22:14 +00:00
Chris
cac67592b7 Correcting the metadata for the Logitech x56 HOTAS to resolve #2574
* Changing detector to IPU to remove duplicate detection
+ Adding Save() method to controller
+ Adding Brightness
2022-08-09 18:24:12 +00:00
Chris
d33c410ea6 Adding new receiver for the Logitech G915 Wireless Keyboard
+ Adding new PID `0xC547`
+ Registering detector in LogitechControllerDetect.cpp
2022-07-19 20:06:40 +00:00
Chris
2c8a826c11 Initial commit for the Logitech G935 to resolve #2214
+ Added PID and registering detector for the common controller
+ Added entry for udev rules
2022-03-10 19:26:25 +11:00
Adam Honse
f1ed2abe53 Code cleanup round 6 2022-01-19 23:08:29 -06:00
Chris
de7abef0e9 Changed Logitech G733 detector to resolve #1235
* Changed Logitech G733 detector from Interface `2` to `3`
2021-12-31 04:46:47 +00:00
Malte Zietlow
186d8a57d7 Add support for Logitech G915TKL 2021-12-12 00:11:00 +00:00
sanchezzzs
2ccd141dab Add logitech g pro keyboard support 2021-11-27 21:28:42 +00:00
Chris M
d0cb93dec4 Adding Logitech G903 V2 to the Logitech common controller to resolve #1946 2021-11-22 18:31:31 +00:00
Chris
a89f5df35b Registering the detector for the LOGITECH_G403_PID to resolve #1895
+ Adding the G403 Prodigy to the common protocol.
2021-11-15 12:46:24 +11:00
Chris
ea1a754e7d Adding Logitech G703 Hero Wireless mouse to the LogitechCommon controller
* Adding Common Wired entry
* Adding Virtual PID for Linux detection
* Adding UDEV rules for wired / wireless modes
2021-09-30 19:03:28 +00:00
Chris
f4b7dacfd5 Moving G502 variants to the common controller for diagnosis and testing
* Code cleanup to remove depracated code
* Implementing workaround for mode breathing / spectrum cycle value swap
2021-09-22 14:40:36 +00:00
Marcin
a6da9a25b7 Simplify Logitech G915 detection logic 2021-09-03 13:54:22 +02:00
yawor
7036c05bc2 Add support for Logitech G915
Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-09-02 22:46:53 -05:00
Chris
41ac14dd41 Adding DEBUG logging & detection fixes to resolve #1592
+ Logitech detection and set up includes debug logging for troubleshooting
+ Adding a pre check to LogitechLightspeedController::GetSerialString()

* Rearranging check logic to ensure that all usages per device are bundled
* Adding PID check to usage bundle to ensure we don't roll into the next device in hid_device_info
- Code cleanup to remove dev_use1 post detection & decoupling the bundled usages for wired lightspeed devices
* Changing wired lightspeed devices to REGISTER_HID_DETECTOR_IPU to target the correct FAP long message usage

+ Adding device validity check isValid() from @cheerpipe
+ Adding wireless check into connected() prior to initialising device
+ Adding the getDeviceFeatureList() back into the Logitech Lightspeed device set up
+ Changed getRGBconfig() for more robust detection

+ Adding Powerplay Mat virtual PID for Linux
+ Adding Logitech G733 for testing @ I=2 P=0xFF43 U=514
+ Adding LOGITECH_POWERPLAY_MAT_VIRTUAL_PID to Linux detection
+ Adding LOGITECH_POWERPLAY_MAT_VIRTUAL_PID and LOGITECH_G733_PID to 60-openrgb.rules
+ Adding LOGITECH_DEVICE_TYPE mapping and extending validity to include new HEADSET type
2021-07-26 00:09:33 +10:00
Alex
4af8614fce Add formated loging for device detection
Commits merged and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-07-05 03:23:34 -05:00
edbgon
6b184f2b8c Initial G933 support 2021-06-22 17:19:47 +00:00
edbgon
8736f1b169 Initial support for Logitech X56 Rhino Hotas
Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-06-11 17:01:42 -05:00
TheRogueZeta
939f46c025 G Pro Wired are only 1 zone devices 2021-06-03 08:31:37 -07:00
TheRogueZeta
ae88771e79 Correct G502 Wireless (wired) PID in linux builds 2021-06-01 00:19:50 -07:00
TheRogueZeta
09e524314f Correct G502 PS and G502 Hero detector changes. 2021-05-31 23:47:37 -07:00
TheRogueZeta
be838aa1d6 Update Logitech Lightspeed detector names 2021-06-01 04:13:46 +00:00
Chris
259ba898b0 Enumerate Wireless connected Logitech Lightspeed (Unifying) devices
+ Added common library for Logitech Protocol
    + Moved wireless detection to the LogitechProtocolCommon.cpp
    + Adding Direct Mode to the wireless control
    + Copying the mutex from Lightsync controller to avoid interference
    + Adding LED count info to controller constructor

+ Created a new Logitech class
    + Added Feature list enumeration
    + Added DeviceName detection from device

* Changed LogitechGProWirelessController to accomodate generic devices
    * LED count from device is now used in RGBController setup

+ Adding Windows specific detection as Linux Kernel handles this already.
+ Adding virtual PIDS for wireless detection
    * LOGITECH G403
    * LOGITECH G502
    * LOGITECH G703
    * LOGITECH G900
    * LOGITECH G903
    * LOGITECH GPRO
+ Adding Logitech G900 Wired Gaming Mouse PID
+ Adding other all lightspeed mice to wired detector for testing
    * Genericised and optimised code paths
    * Speed up wireless detection

Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-05-31 10:59:04 -07:00
Adam Honse
4764198df7 Add Logitech G910 Orion Spark 2021-05-27 10:25:20 -05:00
Adam Honse
4509b9d2e9 Initial support for Logitech G910 Orion Spectrum - G Keys and G910 bottom logo not working yet 2021-05-25 15:38:53 -05:00
Adam Honse
4287128fb4 Attempt to implement !513 using shared mutex pointer for each detected mouse/mousemat combo 2021-05-25 11:48:16 -05:00
TheRogueZeta
fd31b4db7d Fixed Dev and Feature index for PowerPlay 2021-05-22 15:48:06 -07:00
Adam Honse
eb9710ee26 Fix name change 2021-05-18 23:21:56 -05:00
Adam Honse
39d989891e Code style cleanup for Logitech detector 2021-05-18 22:53:38 -05:00
TheRogueZeta
734912732c Rework individual Logitech mouse controllers into a single shared controller and add Direct mode.
Squashes all commits from Merge Request !495
2021-05-19 03:25:55 +00:00
Cheerpipe
5ce9ddc40a Logitech G815 controller
* All keys works, including media, G and light indicator.
 * mode 2 and 6 functions working to achieve "best" framerate.
 * Add a wakeup function to ensure that all keys works with the first command (just copy/paste bits from what GHub do)

Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-04-18 14:52:19 -05:00
TheRogueZeta
e4e2f8d73e Add Logitch G303 based on G403 2021-02-20 21:52:53 +00:00
Martin Hartl
e0e46f2ceb Logitech: Fix HID usage on Linux 2021-02-20 22:26:55 +01:00
Cheerpipe
e9f3a1b3b9 Logitech G560 initial support
Logitech G560 Speaker working with Direct Mode using same bits as the Logitech Ambilight and Audioviz. Other modes are not working (get) as expected.

Note: G560 Direct mode is slow because Logitech hardware implementation but it is working.

Changing volume at the same time colors are changing can reduce FPS because G560 uses the same channel for led and audio modes commands.

Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-02-15 08:45:57 -06:00
morg
dba814215d Fixing memory leaks in controllers 2021-02-05 16:25:46 +01:00
Aurum
639894718d Added G610's second PID
Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-01-13 17:02:23 -06:00
Adam Honse
ca3c2ad541 Add HID: prefix to all HID detector locations 2020-12-02 12:18:56 -06:00
k1-801
dc2b41a0e2 Massive HID detectors update
Commit amended to undo change to device list management, still working through that merge request.  Want to work this one in first.  Changes by Adam Honse <calcprogrammer1@gmail.com>
2020-11-25 02:17:18 -06:00
TheRogueZeta
2850bd1a19 Logitech code cleanup 2020-11-24 08:07:22 +00:00
Jonas Malaco
3cae2bccb5 Add PID for Logitech G PRO HERO Wired
This mouse is a variant of the G PRO Wired, with the new sensor.  The
protocol appears to have been kept the same.

$ lsusb
Bus 001 Device 002: ID 046d:c08c Logitech, Inc. G PRO Gaming Mouse
...

Related: 6ee1c0a591
2020-11-19 17:18:38 -03:00
TheRogueZeta
ca6c61d47f Add Logitech G Pro Wired 2020-11-18 20:20:23 +00:00
Florian Kraupa
dd36a7362a This commit adds support for the Logitech G610 Orion Keyboard. Its not RGB, but behaves exactly like the G810. Cycle animation doesn't work for obvious reasons. 2020-11-15 00:45:24 -06:00