Trackball is very jumpy

Ever since I got my UHK 80 the trackball module (or rather my mouse pointer) has occasionally been “skipping”, now I’m starting get annoyed, it seems to get more and more often and causes me to missclick. I’ve been using trackballs for years and this symptom usually just means theres a hair or something on the sensor, but I have cleaned the sensor and the ball many times. Then I looked at the ball itself, and while there are no scratches there was some imperfection inside causing a black spot, so I figured I could replace it. Unfortunately this diameter is only available at UHK and their shipping costs are quite high. I still decided to order some, since I know they needed to be replaced eventually anyway. The new balls look and feel worse/cheaper, and the mouse pointer is still skipping about every 15 seconds on average. There is no pattern regarding direction or speed. It’s absolutely squeky clean. Has anyone else had this issue?

We have seen the issue, but it hasn’t been a priority so far. I am not even sure if it is hardware related or software related.

By other balls you mean that pack of 3? (They are the first generation, so it is not surprising. They really have not much to do with trackball balls.)

There is some code in place to check for jumps. If I remember correctly, it is enabled by set devMode true command placed into a macro named $onInit.

Please try to enable it and see if it logs jump warnings - you will see a warning triangle on the oled and when you start agent, a yellow pane will pop up. Copy the values here… If you experience jumps but no logs are there, let us know too - iirc, it is adjusted to hunt for issues in code.

Hi, yeah I’m getting tons of jump logs, this is from moving the ball for five seconds, and yes I did buy the pack of three balls. They seem to work no worse or less than the original one, they just dont look/feel like a trackball should.

Probable jump detected at site UhkModuleDriver2! 205, 4
Probable jump detected at site UhkModuleDriver2! 475, 8
Probable jump detected at site MouseController1! 475, 8
Probable jump detected at site MouseController2! 475, 8
Probable jump detected at site UhkModuleDriver2! 199, -3
Probable jump detected at site UhkModuleDriver2! 199, -3
Probable jump detected at site UhkModuleDriver2! 217, -4
Probable jump detected at site UhkModuleDriver2! 229, -7
Probable jump detected at site UhkModuleDriver2! 229, -7
Probable jump detected at site UhkModuleDriver2! 240, -10
Probable jump detected at site UhkModuleDriver2! 247, -12
Probable jump detected at site UhkModuleDriver2! 247, -12
Probable jump detected at site UhkModuleDriver2! 247, -12
Probable jump detected at site UhkModuleDriver2! 247, -12
Probable jump detected at site UhkModuleDriver2! 247, -12
Probable jump detected at site UhkModuleDriver2! 247, -16
Probable jump detected at site UhkModuleDriver2! 246, -16
Probable jump detected at site UhkModuleDriver2! 246, -21
Probable jump detected at site UhkModuleDriver2! 241, -25
Probable jump detected at site UhkModuleDriver2! 241, -25
Probable jump detected at site MouseController1! 241, -25
Probable jump detected at site MouseController2! 241, -25

1 Like

I’ve just noticed that when using BLE there are no jumps! I strongly prefer USB, but I guess this is a workaround…

The log looks like the mouse coordinates are getting accumulated because they dont get processed, e.g., be ause usb is failing to send the reports.

Would you investigate your usb?

You can get to uhk logs via
How to retrieve UHK 80 logs - Ultimate Hacking Keyboard although I dont expect it to report anything useful.

Is there any usb hub between uhk and the computer?

Try another usb port.

What OS is it?

Hi Karel,

I had a KVM switch in between, and so I switched to two different USB ports right on the motherboard and I tried front USB, but I’m still getting jumps. Zephyr logging is basically empty. I’m on Arch Linux, and I also checked the system logs for any USB related errors or disconnects. I’ll try a different Arch Machine later and see if I can test Windows and Mac as well, if that helps.

Yes please!

So I switched to different USB ports directly on the mainboard, and I was getting jumps again. But then I rebooted and now I’m not getting them. I will keep this thread updated if I get more findings.

1 Like