Transforming A Keyboard To A Mouse In Software

You’ve probably heard the old saying that if it looks like a duck, and it quacks like a duck… So when is a keyboard a mouse? When software makes it quack like a mouse — that is, if mice quacked. [Blackle Mori] took a cheap USB keypad and, using the libevdev Linux system, made it impersonate a mouse.

The code on GitHub isn’t complex, but the details can take some time to get right. The code takes over all input events from the device. [Blackle] dumped out events sent from the keypad, but the stock evtest program would probably have done just as well.

Continue reading “Transforming A Keyboard To A Mouse In Software”

Solenoid Keyboard Sounds Very Much Like A Typewriter

Mechanical keyboards are muchly adored things. For many of us, they take us back to that loud clickity-clack that was so common before consumer keyboards went to membrane switches. For others, it’s just for the pure joy of the finger-powered symphony. The solenoid edition of the Red Herring keyboard from [Ming-Gih Lam] understands the beauty of this sound intimately. It can be nearly silent if you so desire, or it can clack away with the best of them (via Hackster.io).

It all comes down to the switches used in the design. [Lam] selected the Silent Alpacas from Durock, noted for their quiet operation, particularly when lubricated. You get just a faint slide-and-click noise from the keyboard under regular use.

The joy of the solenoid edition is in, you guessed it, the solenoid. It fires away with every keypress when enabled, creating a sound more akin to a real typewriter than any mechanical keyboard we’ve ever heard. Click-clack fans will love it, while those with sensitive ears will scream at any cube neighbours that dare to buy one and switch it on.

Files are available on Github for the curious. We’ve seen some other great keyboards over the years, like this nifty split-board design. Video after the break.

Continue reading “Solenoid Keyboard Sounds Very Much Like A Typewriter”

Taking Mechanical Keyboard Sounds To The Next Level

When it comes to mechanical keyboards, there’s no end to the amount of customization that can be done. The size and layout of the keyboard is the first thing to figure out, and then switches, keycaps, and then a bunch of other customizations inside the keyboard like the mounting plate and whether or not to add foam strips and other sound- and vibration-deadening features. Of course some prefer to go the other direction with it as well, omitting the foam and installing keys with a more noticeable click, and still others go even further than that by building a separate machine to make their keyboard activity as disruptive as it could possibly be.

This started as a joke among [ac2ev] and some coworkers, who were already teasing about the distinct sound of the mechanical keyboard. This machine, based on a Teensy microcontroller, sits between any USB keyboard and its host computer, intercepting keystrokes and using a small solenoid to tap on a block of wood every time a keystroke is detected. There’s also a bell inside that rings when the enter key is pressed, similar to the return carriage notification for typewriters, and as an additional touch an audio amplifier with attached speaker plays the Mario power-up sound whenever the caps lock key is pressed.

[ac2ev] notes that this could be pushed to the extreme by running a much larger solenoid powered by mains electricity, but since this was more of a proof-of-concept demonstration for some coworkers the smaller solenoid was used instead. The source code for the build can be found on the project’s GitHub page and there’s also a video of this machine in action here as well. Be careful with noisy mechanical keyboards, though, as the sounds the keys produce can sometimes be decoded to determine what the user is typing.

A Controller For More Than Thumbs

As virtual reality continues to make headway into the modern zeitgeist, it is still lacking in a few key ways. There’s not yet an accepted standard for correlating body motion to movement within a game, with most of the mainstream VR offerings sidestepping this problem by requiring the user to operate some sort of handheld controller to navigate the virtual world. And besides a brief Kinect fad from the 2010s, there hasn’t been too much innovation in this area. But computers have continued to increase in capabilities and algorithms for tracking movement have improved, so [Fletcher Heisler] aka [Everything Is Hacked] leveraged these modern tools into a full-body controller configurable for any video game.

This project builds heavily on a previous project by [Fletcher] which took body position information and turned it into keyboard input, leveraging OpenCV and posture detection software to map keys to specific body positions. It only needed slight modification to work for gaming with regards to the ability to hold down keys or mash buttons, but essentially works by mapping certain keystrokes from the previous project to commands in games. In addition to that step he also added support for multiplayer by splitting the image captured by the camera into two halves so it can keep track of two people simultaneously.

Continue reading “A Controller For More Than Thumbs”

A Faulty Keyboard From A Single LED

When the chance arrived to buy a mechanical keyboard for not a lot, naturally, [Hales] jumped at it. Then it started having odd intermittent problems with some keys appearing stuck, which led to a teardown and some fault finding. The culprit was a white LED — but why this was the case is a fascinating story.

Stripping it down there didn’t seem to be an obvious culprit, but eventually, the trail led to a lack of diodes in the matrix. This keyboard had an extremely clever yet rather cursed design in which it used LEDs as both illumination and as a diode in the keyboard matrix circuit, and the faulty LED had a reverse breakdown condition that could be triggered under certain operational conditions.

More unexpectedly, it would sometimes hold on to its reverse breakdown state even after power off. Just when you think you understand a component’s properties, there’s always room for surprise. And we can safely say we’ve learned something about the design of cheaper keyboards in reading the account. It’s clear that when it comes to ‘boards, it’s best to take no chances.

Forgettable Computer, Great Keyboard. Now Available In USB

The Coleco Adam is one of the great might-have-beens of the 8-bit home computer era, with an impressive bundle and on-paper spec let down by bugs, hardware issues, and poor availability. It’s something of a footnote today but it seems Coleco did get something right as it had a great keyboard. [Nick Bild] has one, and he’s brought it into the 21st century with a USB interface.

The interfacing is courtesy of a Teensy microcontroller board as in so many other keyboard projects, but what makes this extra-interesting is the way the Coleco keyboard speaks to the world. Instead of merely being a matrix peripheral as were so many of its contemporaries, Coleco created their own custom serial bus for Adam desktop peripherals called AdamNet, and thus the keyboard contains its own 6801 microcontroller to perform the interfacing. The Teensy then is a USB-to-AdamNet interface, and could we’re guessing be made to talk to other Coleco peripherals if they exist.

You can see the keyboard in action below the break, and as you can see it fits quite nicely into 2023.  We’ve not featured much about the Adam before here at Hackaday, but the ColecoVision console which sits at its heart has even seen a new version.

Continue reading “Forgettable Computer, Great Keyboard. Now Available In USB”

Custom Keyboard Built For Diablo 3 Action

Custom mechanical keyboards are a great way to show off your passion and skill for electronics and design. They’re also perfect when you need to optimize your setup for a certain game or piece of software. [Pakequis] did just that with his Bad Thing of the Edge mechanical keyboard build.

[Pakequis] occasionally plays Diablo 3 on a tiny 7-inch laptop, which as you might expect, doesn’t have a keyboard conducive to gaming. Thus, he designed a mechanical keyboard with a series of important actions mapped to keys for the left hand. Naturally, that was an opportunity to have fun with the keycaps, which all feature graphics for their relevant in-game functions. The prototype was built with surplus keys from an old PTZ camera controller, but the final version runs Cherry MX switches. There are also a set of RGB LEDs with a variety of fun effects. The whole thing is run by a Raspberry Pi Pico, which is perfectly suited for building custom USB HID devices.

Hackers build custom keyboards for all kinds of reasons, like ergonomics, style, or just sheer absurdist fun.

Continue reading “Custom Keyboard Built For Diablo 3 Action”