Mouse Whisperer Keeps You Working, Even When You Need A Break

When life hands you lemons, you make lemonade, right? What about when life hands you annoyingly intrusive work-from-home policies that require you to physically stay at your computer even though you really, REALLY need to go to the bathroom, but can’t be trusted to act like a responsible adult who won’t get diverted by TV or the fridge on the way back? In that case, you build something like the Mouse Whisperer — because malicious compliance is the best kind of compliance.

To be fair, [andrey.malyshenko] does list other plausible use cases for what amounts to an automatic mouse wiggler. Like many of us, [andrey] isn’t a fan of logging back in from screen locks, and recognizes that not absolutely every minute of work requires staring at one’s screen. There’s also the need for bio-breaks, of course, and the Mouse Whisperer is designed to accommodate these use cases and more.

The design is quite compact, occupying barely more space than a wireless mouse dongle. Plugged into a USB port, the ATtiny85 mostly sits idle, waiting to detect the touch of a finger on an exposed pad via a TTP223. The dongle then goes into a routine that traces lazy circles with the mouse pointer, plus flashes an RGB LEB on the board, because blinkenlights are cool. The mouse wiggling continues until you come back from your Very Important Business and touch the pad again.

Now, if anyone is actually monitoring you remotely, the circling mouse pointer is going to look a wee bit sus. Fear not, though — the code uses a *.h file to define the circle, so other patterns should be possible. Either way, the Mouse Whisperer is a nice solution, and it’s considerably more compact and integrated than some of the alternatives we’ve seen.

A huge cardboard computer with an equally huge mouse

Massive Mouse Game Mimics Classic Software Crashes

Computer mice come in all kinds of shapes and sizes, but are typically designed to fit in the palm of your hand. While some users with large hands may find standard mice uncomfortably small, we don’t think anyone will ever make that complaint about the humongous peripheral [Felix Fisgus] made for a game called Office Job at the ENIAROF art festival in Marseille. With a length of about two meters we suspect it might be the largest functional computer mouse in existence.

An optical mouse sensor mounted on a cardboard frameInside the massive mouse is a wooden pallet with four caster wheels that enable smooth movement in all directions. This motion is detected by an ordinary optical mouse sensor: perhaps surprisingly, these can be used at this enormous scale simply by placing a different lens in front.

As for the mouse button, [Felix] and his colleagues found of that the bottom of an empty five-liter can has a nice “pop” to it and installed one in the front section of the device, hooked up to an ESP32 board that communicates with a computer through Bluetooth.

The mouse connects to an equally huge desktop computer, powered by a Raspberry Pi, on which users play a game that involves clicking on error messages from a wide variety of old and new operating systems. Moving the mouse and pressing its button to hit those dialog boxes is a two-person job, and turns the annoyance of software errors into a competitive game.

Optical mouse sensors are versatile devices: apart from their obvious purpose they can also serve as motion sensors for autonomous vehicles, or even as low-resolution cameras.

Continue reading “Massive Mouse Game Mimics Classic Software Crashes”

Mouse Finds New Home In Pinball Machine

Restoring pinball machines is an excellent hobby, and can even be more than that as we see businesses like bars and museums focusing on them as a main attraction. There’s all kinds of intrigue to be found, from esoteric mechanical systems to classic electronics and unique artwork. For those building new pinball machines, though, one way to bypass a lot of the hassle of finding antiquated parts is to build a digital machine with an analog feel, like this machine which repurposes a computer mouse in an interesting way.

One of the important design considerations with a more modern system like this is to preserve the mechanical components that the player interacts with, in this case the plunger. This pinball machine is really just a large screen driven by a computer, but the plunger is a spring-loaded one from an old analog machine. Attached to the end of the plunger inside the cabinet is a cloth strap which passes underneath an old optical mouse. When the plunger is pulled and released, the mouse registers the position of the plunger and sends that information to the computer controlling the pinball display.

We really appreciate a KISS-style design like this in general. Mice are a proven, reliable technology and the metal components of the plunger are unlikely to ever wear out, which means that at least this part of the new pinball machine is unlikely to need much maintenance over the lifespan of the cabinet itself. For other ways of preserving the original feel of old machines, take a look at this build which incorporates all kinds of tricks within a MAME cabinet.

Trombone Controls Virtual Trombone

Guitar Hero was a cultural phenomenon a little over a decade ago, and showed that there was a real fun time to be had playing a virtual instrument on a controller. There are several other similar games available now for different instruments, including one called Trombone Champ that [Hung Truong] is a fan of which replaces the traditional guitar with a trombone. The sliding action of a trombone is significantly different than the frets of a guitar, making it a unique challenge in a video game. But an extra challenge is building a controller for the game that works by playing a real trombone.

Unlike a guitar which can easily map finger positions to buttons, mapping a more analog instrument like a trombone with its continuous slide to a digital space is a little harder. The approach here was to use an ESP32 and program it to send mouse inputs to a computer. First, an air pressure sensor was added to the bell of the trombone, so that when air is passing through it a mouse click is registered, which tells the computer that a note is currently being played. Second, a mouse position is generated by the position of the slide by using a time-of-flight sensor, also mounted to the bell. The ESP32 sends these mouse signals to the computer which are then used as inputs for the game.

While [Hung Truong] found that his sensors were not of the highest quality, he did find the latency of the control interface, and the control interface itself, to be relatively successful. With some tuning of the sensors he figures that this could be a much more effective device than the current prototype. If you’re wondering if the guitar hero equivalent exists or not, take a look at this classic hack from ’09.

Continue reading “Trombone Controls Virtual Trombone”

DIY Gaming Mouse Beats The Competition, Costs Less

We’ve seen plenty of custom keyboards here on Hackaday. Seriously, like more than we can count. But custom mice? Those are far more elusive. Though we wouldn’t be surprised to see that change should this excellent example from [Tyler Richard] catch on.

How the mouse sees the date on a US quarter

The goal was to build a customizable mouse that could match the performance of Logitech’s MX Master 3, but without the $100 USD price tag. In the end, [Tyler] says his mouse is around 10x as responsive thanks to a 1,000 Hz refresh rate, and the total cost is just a fraction of the retail price of the Logitech. Though as you might expect, there’s a catch or two.

For one thing, he says getting your hands on the PixArt PMW3389 mouse sensor in single quantities can be difficult. It seems like he was able to secure a sample because he’s a student, but you’ll have to figure out your own way to con secure one from the company. There’s also no friendly GUI to configure the mouse, and indeed, you’ll need to write some code should you want to modify any of its buttons. Oh, and despite the fact that the cheapo donor mouse you need to use for parts is wireless, the replacement guts you’ll be fitting it with currently only support wired operation.

Alright, we’ll admit it’s not perfect. But it’s still a huge step in the right direction if you care about being able to spin up your own input devices. With some refinement, and perhaps somebody willing to do bulk buy of the sensors, we could see this project becoming quite popular. In the meantime, you may have to settle for a macro stool.

Want To Use A Classic Mac Mouse On A Modern Computer? No? Here’s How To Do It Anyway

Need to hook a classic Mac mouse up to your modern machine with the help of a DIY USB adapter? [John Floren] has you covered. [John]’s solution uses a board with an ATmega32U4 microcontroller on it to connect to the Mac mouse on one end, and emulate a USB HID (Human Interface Device) on the other. A modern machine therefore recognizes it like it would any other USB input device.

Why is this necessary? The connector on the classic Mac mouse may look like a familiar DE-9 connector, but it is not an RS-232 device and wouldn’t work if it were plugged into a 9-pin serial port. The classic Mac mouse uses a different pinout, and doesn’t have much for brains on the inside. It relies on the host computer to read its encoders and button states directly.

This project is actually a bit of an update to a piece of earlier work [John] did in making a vintage Depraz mouse work with modern systems. He suspected that it wouldn’t take much to have it also work with a classic Mac mouse, and he was right — all it took was updating the pin connections and adding some pull-up resistors. The source code and design files are on GitHub.

Even if one does not particularly want to use a classic Mac mouse for daily work, there’s definitely value in this kind of thing for those who deal in vintage hardware: it allows one to function-check old peripherals without having to fire up a vintage machine.

Continue reading “Want To Use A Classic Mac Mouse On A Modern Computer? No? Here’s How To Do It Anyway”

Pi Pico Provides Practical PlayStation Pointing

It’s not immediately clear to us why one would need a mouse for the original PlayStation (though we’re sure there’s no shortage of folks eager to jump down into the comments and tell us), but if you ever desire adding improved pointing capabilities to the nearly three decade old console, this project from [Vojtěch Salajka] is certainly one to keep an eye on.

The aptly named “USB to PlayStation Mouse” project does exactly what it sounds like — adapts a generic USB mouse into an input device for Sony’s classic console. Putting one together requires a Raspberry Pi Pico, a 5 V DC-DC USB boost module with female USB-A connector, and a sacrificial controller or peripheral to provide the cable and proprietary connector.

With the hardware assembled per the simple wiring diagram, you just plug the Pico into your computer and copy over the firmware file. [Vojtěch] notes that you’ll need to unplug the mouse before attempting to upload the firmware, presumably because the data pins on the two USB ports have been tied together.

Don’t worry about having to find some obscure title to try out your new peripheral either, [Vojtěch] says the mouse works in the system’s main menu if you boot it without a disc in the drive. Now all you need is a few Raspberry Pi Pico PlayStation Memory Cards to complete the whole set.