#USBmouse

Hacker Newsh4ckernews
2025-04-04
genstar.serviceGenstar@meow.social
2023-07-14

Mini Mouse Genius Telefono Skype Internet Navigator 380

#SkypePhones #USBSkypePhones #USBPhones #USBMouse #Mouse #MiniMouse #Genius

A mouse that is also an USB Skype phone for some fucking reason.
2021-10-18

Arduino Brings USB Mouse to Homebrew computer

When building your own homebrew computer, everything is a challenge. Ultimately, that's kind of the point. If you didn't want to really get your hands dirty with the nuts and bolts of the thing, you wouldn't have built it in the first place. For example, take the lengths to which [rehsd] was willing to go in order to support standard USB mice on their 6502 machine.

Code for mapping mouse movement to digital output.

The idea early on was to leverage existing Arduino libraries to connect with a standard USB mouse, specifically, the hardware would take the form of an Arduino Mega 2560 with a USB Host Shield. There was plenty of code and examples that showed how you could read the mouse position and clicks from the Arduino, but [rehsd] still had to figure out a way to get that information into the 6502.

In the end, [rehsd] connected one of the digital pins from the Arduino to an interrupt pin on the computer's W65C22 versatile interface adapter (VIA). Then eleven more digital pins were connected to the computer, each one representing a state for the mouse and buttons, such as MOUSE_CLICK_RIGHT and MOUSE_LEFT_DOWN.

Admittedly, [rehsd] says the mouse action is far from perfect. But as you can see in the video after the break, it's at least functional. While the code could likely be tightened up, there's obviously some improvements to be made in terms of the electrical interface. The use of shift registers could reduce the number of wires between the Arduino and VIA, which would be a start. It's also possible a chip like the CH375 could be used, taking the microcontroller out of the equation entirely.

From classic breadboard builds to some impressively practical portable machines, we've seen our fair share of 6502 computers over the years. Despite the incredible variation to be found in these homebrew systems, one thing is always the same: they're built by some of the most passionate folks out there.

[Thanks to Jim for the tip.]

#arduinohacks #peripheralshacks #retrocomputing #6502processor #arduinomega2560 #homebrewcomputer #interrupt #usbhid #usbmouse

image
2021-08-14

USB Mouse Hack for Pachyderm Protection

When most of us think of seismometers, our minds conjure up images of broken buildings, buckled roads, and search and rescue teams digging through rubble. But when [Subir Bhaduri] his team were challenged with solving real world problems as frugally as possible as part of the 2020 Frugal Science course, he thought of farmers in rural India for whom losing crops due to raiding elephants is a reality. Such raids can and have caused loss of life for humans and elephants alike. How could he apply scientific means to prevent such conflicts, and do it on the cheap?

Whether inspiration came from using a computer mouse with the cursor speed turned up to “orbital velocity” is debatable, but [Subir] set forth to find out if such sensitivity could be leveraged for the seismic detection of the aforementioned elephants. His proof of concept is a fantastically frugal low cost seismograph using an optical mouse and some cheap PVC pipe and fittings.

We invite you to watch the video below the break to find out how it works. You'll be impressed as we were by [Subir]’s practical application of engineering principles. And keep your eyes open for the beautiful magnetic damper hack. It’s a real treat!

If pontificating pesky pachyderms p-waves piques your interest, perhaps you’ll appreciate previous projects which produce data with piezo pickups and plumbing parts.

#classichacks #peripheralshacks #arduino #earthquakedetector #magneticdamper #plumbingsupplies #pvc #seismic #seismometer #usbmouse

image

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst