Chaoses-Ib / IbInputSimulator

A library for simulating keyboard and mouse input with drivers
MIT License
208 stars 39 forks source link

Logitech mouse driver does not work #8

Open Chaoses-Ib opened 2 years ago

Chaoses-Ib commented 2 years ago

最新版的 G HUB 和 LGS 似乎直接阉割了部分鼠标功能。驱动不再支持鼠标按键或移动,G HUB 和 LGS 的 Lua 宏会使用 SendInput 而不是驱动来实现被阉割的功能。

Originally posted by @Chaoses-Ib in https://github.com/Chaoses-Ib/IbInputSimulator/issues/4#issuecomment-1280120302

Chaoses-Ib commented 2 years ago

Logitech G HUB v2022.9.315009

By SendInput (medium integrity):

By the driver:

By the way, G HUB takes up a total of 360MiB of working set in the background, while LGS only takes up 76MiB.

Chaoses-Ib commented 6 months ago

According to https://github.com/ekknod/logitech-cve/issues/7#issuecomment-1094154606, any version before and includes 2022.1.3492 (Jan 13th, 2022) works. After 2022.3.2300 (Mar 23th, 2022), it was patched.

One can find the old versions here: https://www.touslesdrivers.com/index.php?v_page=26&v_code=451

Backup for v2022.1.3492: https://github.com/Chaoses-Ib/IbInputSimulator/releases/download/v0.4.0/Logitech.G.HUB.v2022.1.3492+20220112.exe

Update: These archives are still online installers. However, the installer of v2022.1.3492 is not installing the newest version, but v2023.1.364016. Perhaps it can install v2022.1.3492 before, but now only versions after 2023 can be downloaded.

Pennywise007 commented 5 months ago

It looks like everything works with the latest(2024.3.553733) Logitech G-HUB

Chaoses-Ib commented 4 months ago

From #27:

移动失效 只是不移动 返回状态正确 无论 调用IbInputSimulator 还是独立实现都是这个情况

2021.11.8744 之后的版本安装都会自动更新为 23.1.364016 经测试 2021.11.8744以及之前的版本不会出现问题

第一次安装未重启前可以正常使用 重启后移动失效 可以正常找到注册表 打开设备 与发送命令 但是不移动

可能23.1.364016 之前的不会出现这种问题 但是未找到 2021.11.8744 - 23.1.364016 之间的离线安装包

Chaoses-Ib commented 2 months ago

Miguel found that only reinstalling with "Transfer my current settings" turned off works. Otherwise, the "Logitech Gaming Virtual Keyboard/Mouse" device doesn't show up in Device Manager. So Logitech may block the driver by some settings. If we found out what it is, maybe we can make the driver work without reinstalling every time.

image