• Hello, Guest! Welcome back, and be sure to check out this post for more info about the recent service interruption and migration.

ADB Busboy: Adapter for USB peripherals over ADB

Scott Squires

Well-known member
So, the ADB protocol actually has room in it for a 2nd mouse button. But I doubt the system software will acknowledge that it exists. What did the 2-button mice you're thinking of do with the second button? I used a Kensington trackball that had two buttons (and later four). You used the Kensington software to define what the extra buttons did. Ctrl-click probably makes the most sense. (Or was it option-click?) That is a bit fiddly because I'll have to queue up a series of events to happen in a certain order, from separate adb devices. Perfectly doable, it's just not he way the code is structured right now.

I was also planning to do something with the scroll wheel. Probably arrow keys.

 

lameboyadvance

Well-known member
I've never had a 2 button Mac mouse. I do know that at least some of the Apple ADB mouse ICs actually had a second pin that would register the second button click, but they were never connected/used in the mouse and I never played around with it to see if it actually responded in software.

And it would be advisable to set up your software to do 2 things/devices at once. The Adjustable keyboard broadcasts as both a keyboard and a 'input device' to handle its media keys, and keyboard-cmd/mouse-click may not be the only time you have to combine 2 devices.

 

Scott Squires

Well-known member
Doing two things at once is actually the problem, not the solution. The events from different devices happen in parallel, whereas with a macro (control-click), they need to happen serially. It doesn't matter. It's not like I'm going to not implement macros.

 

Gorgonops

Moderator
Staff member
If you implement some of this bonus stuff from the adjustable keyboard (or try to make mouse input trigger keyboard presses) you're probably going to have to have the option to turn it off if you want to retain IIgs compatibility. The Adjustable Keyboard *doesn't* work with the IIgs because its software stack happens to freak out at the thought of having multiple things that identify themselves as "keyboard-like" on the bus at once.

 

Scott Squires

Well-known member
Thanks for the heads up. Maybe what I will do is ship it with stuff that doesn't work on the IIgs disabled by default and then write a Mac app for configuring the options.

 
Last edited by a moderator:

paws

Well-known member
Slight derail: Is it possible to make a passive ADB splitter? Like, take three female connecters with the datalines wired together to attach two peripherals to the same host? Is that basically what the extra connector in ADB keyboards are?

 

melt

New member
Hey! Do you know approximately when you're planning on selling these? I signed up to be notified but was just wondering if it'd be soon. I'm super keen. Thanks!

 
Last edited by a moderator:

Scott Squires

Well-known member
My original goal was by the end of March. At this point, I think it's unlikely I will make that date. There are some unknowns I need to work out still. The biggest two are whether the prototype PCB will need any fixes and how much work implementing the firmware upgrade bootloader will be.

I have the option of buying a bootloader for $500 or adapt a free bootloader to support upgrading firmware from host mode USB mass storage device. The $500 bootloader may not have a feature I need. Not sure how much work it would be to modify the free one yet.

So I don't know enough to put a date on it yet. But I'm pretty sure it won't be before April.

 

NJRoadfan

Well-known member
Some 2 button ADB mice implemented "click lock" for the 2nd button, that is you click the right button once, it acts like the mouse button is held down until you click it again. A friend of mine had one of those mice hooked up to his ROM 01 IIgs and it worked as above, so it was likely implemented in the mouse electronics. No clue if there was any Mac driver software to assign another function to the right mouse button.

 

Dandu

Well-known member
I have a mouse like that. And i have the Bandai Pippin Pad, too : there is a trackball on it, with two button.

I think that the trackball from PowerBook 180 use two different button, too.

 

Scott Squires

Well-known member
I finished assembling and testing the prototype PCB. Everything is working as it should. I did make a dumb mistake and wired up the LED backwards. (I suppose I didn't pay much attention to that because what kind of idiot screws up an LED?) That's what the patch wire in the photo below is for. I don't feel the need to spin another prototype board to test the LED fix.
 
One frustrating thing is that the original USB power distribution chip (that's the 8-legged one on the right side) I assembled the board with was malfunctioning. It would only power one USB port. After investigating and concluding that it must be a bad chip, I replaced it. Both USB ports work with the replacement chip. This makes me question the reliability of this chip and whether I should switch to a different one.
 
Next up is the bootloader. Once I get proof that firmware upgrades work, then I can order the production boards and work on software features while they are being made.



 

LazarusNine

Well-known member
Anthon, you've got a customer in me. Really like the look of the PCBs and very pleased for you that you enjoyed a successful first attempt once the boards arrived. This is an exciting and promising project and I look forward to seeing how things develop!

 

Trash80toHP_Mini

NIGHT STALKER
Congratulations, anthon, that's quite the achievement! I've been much interested in your project and have been meaning to read past the mission statement and working prototype announcement, but I've been much too busy.
hmm.png.23a57bf74a6cb6e24af5772ed9f9efa5.png


Kudos on that LED feature, every prototype requires at least one patch wire to be authentic. [;)] ]'>

 

nyteshade

New member
I am definitely in for at least one unit and if at all possible please allow right mouse button clicks to function as control click.

 
Top