Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Wheel Protocol with Open Source Driver #30

Open
willyvmm opened this issue Mar 15, 2023 · 19 comments
Open

New Wheel Protocol with Open Source Driver #30

willyvmm opened this issue Mar 15, 2023 · 19 comments

Comments

@willyvmm
Copy link
Owner

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
Copy link
Owner Author

So.

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

The protocol is ready in my head.

Stay tuned.

@TomCat666
Copy link

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
Copy link

Anything new on this front ? :)

@willyvmm
Copy link
Owner Author

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
Copy link
Owner Author

willyvmm commented Feb 7, 2024

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
Copy link
Owner Author

@gklka
Copy link

gklka commented Feb 20, 2024

Hey, thanks for the great effort! My test:

  • copied files to pendrive in MOUSTER folder
  • plugged in, waited until .-. blink
  • installed driver, rebooted
  • plugged in mice:

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
Copy link
Owner Author

willyvmm commented Feb 20, 2024

@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
Copy link

gklka commented Feb 20, 2024

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
Copy link
Owner Author

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

@willyvmm
Copy link
Owner Author

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
Copy link

gklka commented Feb 29, 2024

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
Copy link

gklka commented Feb 29, 2024

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
Copy link

lovrenco commented Mar 7, 2024

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

@willyvmm
Copy link
Owner Author

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
Copy link

gklka commented Mar 15, 2024

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

@ales-zima
Copy link

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
Copy link

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

@GT76a
Copy link

GT76a commented Oct 1, 2024

I have a problem with the adapter and wheel support. Tested with firmware [mouSTer.fw.3.21.4660.zip] and [mouSTer.fw.3.21.4661.zip]
and driver [mouSTer.driver_330.zip]. I use a Logitech RX250 cable mouse. When I push the LMB the Mouster-Adapter stops/no heartbeat. The RMB and wheel is working until I press the LMB. Without the driver I the LMB is working fine, but no wheel support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants