UltimateHackingKeyboard / firmware

Ultimate Hacking Keyboard firmware
Other
420 stars 66 forks source link

v11.0.0 firmware broke mouse keys control when using it with bluetooth dongle #765

Closed yihou closed 8 months ago

yihou commented 8 months ago

I have been using a Bluetooth device from Handheld Scientific that was highly recommended from the start.

Previously, the mouse keys were functioning properly when I connected the keyboard through a Bluetooth dongle.

However, after updating the firmware to version 11.0.0, the mouse keys no longer respond to left and right movements, only allowing the mouse cursor to move up and down.

Do let me know any details that I can provide to assist you guys to debug the problem.

yihou commented 8 months ago

Updates:

Just realised there's 11.0.2 firmware, installed and the issue persist.

I noticed that when I use a keyboard connected through a Bluetooth dongle, pressing the left and right buttons on the mouse causes the cursor to move up and down. Conversely, pressing the up and down buttons on the mouse results in scrolling.

This issue also impacts trackball movements, causing it to move up and down when I scroll the ball left and right.

Here is my Mouse keymap settings: CleanShot 2024-03-27 at 22 00 02

mondalaci commented 8 months ago

This issue is indirectly caused by the following modification mentioned in the changelog of the UHK firmware 11.0.0:

Reorder USB interfaces to achieve better compatibility with KVM switches and docking stations.

However, the updated USB interfaces of the UHK are still legit. Here's the relevant commit.

The direct cause is that the BT-500 probably implements a non-general, device-specific USB parser that relies on the specific USB interface order of pre-11.0.0 UHK firmware versions.

We won't address the shortcomings of third-party devices. Please inform Handheld Scientific about this issue so they can update their firmware.

yihou commented 8 months ago

Alright, will approach Handheld Scientific then.

asdf4w3t5 commented 7 months ago

@yihou Was this mentioned to handheld scientific? Do they have a solution? It's unfortunate the UHK site recommends this device but now it doesn't work lmao

ADevAJ commented 3 months ago

Would like an update about this too

yigitkonur commented 2 days ago

Will appreciate a fix or a fork that uses BT-500 compatible USB parser configs - as downgrade is not possible now, I guess it is more needed. @mondalaci

mondalaci commented 2 days ago

A downgrade should be possible, according to https://github.com/UltimateHackingKeyboard/agent/issues/2361#issuecomment-2505673352

We shouldn't work around the shortcomings of third-party products, such as the USB HID parser of the BT-500. They should update their firmware if they want to support the UHK mouse USB HID interface with recent UHK firmware versions.