willyvmm / mouSTer

mouSTer - universal USB HID class device to db9 adapter.
70 stars 4 forks source link

New Wheel Protocol with Open Source Driver #30

Open willyvmm opened 1 year ago

willyvmm commented 1 year ago

As the micomys protocol implementation is at least problematic (see here: #28 ) I have decided to drop the micromys protocol support and either implement one of existing or develop a new one.

willyvmm commented 1 year ago

So.

Think twice. Then. Think twice. And. Code once.

The protocol is ready in my head.

Stay tuned.

TomCat666 commented 1 year ago

For the new Tank Mouse a new open source driver was written for Mouse Wheel support that uses the cocolino protocol. It is working splendidly... maybe you could use that, no need to write a new driver then:

https://github.com/sq7bti/AmigaMouse/tree/tankmouse

TomCat666 commented 10 months ago

Anything new on this front ? :)

willyvmm commented 8 months ago

The new protocol turned out to be more difficult than I thought. Mostly because of different limitations. Also, I want to push the Amiga hardware to its limits. Different hardware versions are limitations. I don't want different drivers for different hardware. But everything is on its way to a happy end. I would say the most difficult part of the work seems to be done:

willyvmm commented 7 months ago

So. The driver is working. Still needs some work and polishing, but it is working :)

https://youtu.be/1TmlWyzdc14

Now, I can call myself CIA master ;) I will write the whole story behind the driver soon.

willyvmm commented 7 months ago

New firmware: https://github.com/willyvmm/mouSTer/releases/tag/3.20.4600 And Driver: https://github.com/willyvmm/Amiga-mouSTer-wheel-mouse-driver/releases/tag/0.8

So ... testing is needed.

gklka commented 7 months ago

Hey, thanks for the great effort! My test:

Logitech Performance MX: Wheel jumps up and down, but mostly down, basically unusable :( Even scrolls when I don't touch it.

Cheap Chinese USB/BT/2.4GHz mouse: Wheel does not even move

Logitech M280: Wheel does not even move

Cheap Chinese USB/2.4GHz vertical mouse: Wheel does not even move

Logitech USB keyb+IR mouse: Wheel does not even move

So it does not seem too good so far :(

willyvmm commented 7 months ago

@gklka Could you please add your hardware configuration.
If You are using PiStorm, please update firmware to 4606. The bug is already fixed.

I Editet the initial response. I misiread what you wrote.

gklka commented 7 months ago

I use a clean install of OS 3.2.2.1 on an Amiga1200 with PiStorm32/Pi4 (firmware from a week ago).

Updated to 4606, and things changed. I haven't checked all the mice again, but neither Performance MX nor M280 works correctly, they scroll randomly to both dimensions without even touching them. :(

willyvmm commented 7 months ago

I'll think about some advanced debug feature to help identify this issue.

willyvmm commented 7 months ago

mouSTer.fw.3.21.4660.zip mouSTer.driver_330.zip

Completely new protocol. Slower but more reliable. The new driver, requires new firmware. Everything included. So far tested with my Stock A1200, and equipped with Pistorm32Lite with Pi3B(+). If tests are successful, I will copy everything to github.

gklka commented 7 months ago

Tested all the mice again, and... outstanding success! All of them worked flawlessly. Congratulations, this implementation is great!

Thank you for all the hard work.

gklka commented 7 months ago

Found a little glitch tho: keeping the mouse button pressed occasionally ends the event. For example when you drag a window around, in every 1-2 seconds it releases it.

lovrenco commented 6 months ago

I confirm @gklka finding. When i drag dh0 icon on the desktop it changes place although button is not released

willyvmm commented 6 months ago

mouSTer.fw.3.21.4661.zip

Hi @lovrenco & @gklka I have identified a bug in the firmware. Likely it's also responsible for the LMB issue. Could you please test the new 4661 firmware against the LMB issue? As before, it's working on my hardware ... And I could not reproduce the reported issue.

gklka commented 6 months ago

Works perfectly! The releasing mouse button bug is fixed, the scroll is still working like a charm. Thank you!

ales-zima commented 6 months ago

Tried with A1200 and works with my wireless vertical mouse! Only issue I've found yet is DOpus4 - when scroll wheel is used, LMB stops working and starts again after few clicks. Anyway, thanks for great job!

jayminer81 commented 2 weeks ago

The link to the driver does not seem to be working any more :(