geekhack Marketplace > TMK Keyboard Service

[TMK] Keyboard Protocol Converter

<< < (45/45)

U47:

--- Quote from: hasu on Sun, 13 October 2024, 07:43:03 ---Mouse support is preliminary but it should work somewhat. I don't have NeXT mouse to test this feature and mouse movement direction is still unclear to me especially. Let me know your result if you have one.

--- End quote ---

Hi Hasu,

I'm back using my NeXT keyboard with your converter (Git tells me it's been 11 years since I added my keymap to my fork of tmk_keyboard).

I flashed your latest firmware to see how the mouse support works. It does, however I think the mouse has either way way higher resolution than a common USB mouse, or the controller is not processing enough signals. It is very slow to track the cursor, even when tracking speed is set to maximum. Further, the controller doesn't appear to catch button events—clicking either button does nothing.

How can I be of service to help improve the mouse support?

Thanks for all you do,
U47.

hasu:
Hi U47,
Thank you for your help!

It seems that my code has something wrong. Can you try this firmware to see debug prints on hid_listen?

https://github.com/tmk/tmk_keyboard/tree/0be02f8da6640bf2ec30103a137ed85bf87eb7a5/converter/next_usb_ng/binary

https://github.com/tmk/tmk_keyboard/wiki#debug-console

U47:

--- Quote from: hasu on Tue, 10 March 2026, 11:36:06 ---It seems that my code has something wrong. Can you try this firmware to see debug prints on hid_listen?

--- End quote ---

Hi Tmk,

I'm attaching the output from quickly moving the mouse down 15 cm and up 15 cm, and then left 15 cm and right 15 cm. This only moves the mouse cursor about 100 pixels in any direction, even with the mouse speed and tracking set to maximum.

Clicking either button doesn't register anything in hid_listen. I can't be certain that the buttons are functional, however I would be surprised if both weren't.

—U47

hasu:
Sorry for late reply.
I checked my code with emulating NeXT mouse using old Apple ADB mouse and confirmed mouse cursor moves very little. New firmware multiplies mouse movement by 4 simply and it works with the old 100/200cpi mouse somehow now.

https://github.com/tmk/tmk_keyboard/tree/e264a600cc9f82eea5ee999b31404a777eaa98ca/converter/next_usb_ng/binary

As for the buttons I think it should work. Its switch has been worn out, perhaps? Pressing it hard several times doesn't show anything?

Navigation

[0] Message Index

[*] Previous page

Go to full version