An Effects Pedal For Keyboards (and Mice)

Effects pedals for musical instruments like electric guitars can really expand a musician’s range with the instrument. Adding things like distortion, echo, and reverb at the push of a button can really transform the sound of a guitar and add depth to a performance. But [Guy] wondered why these effects should be limited to analog signals such as those from musical instruments, and set about to apply a number of effects to the use of computer keyboards and mice with this HID effects pedal.

The mouse is perhaps the closer of the two to an analog device, so the translations from the effects pedal are somewhat intuitive. Reverb causes movements in the mouse to take a little bit of extra time before coming to a stop, which gives it the effect of “coasting”. Distortion can add randomness to the overall mouse movements, but it can also be turned down and even reversed, acting instead as a noise filter and smoothing out mouse movements. There’s also a looper, which can replay mouse movements indefinitely and a crossover, which allows the mouse to act as a keyboard.

For the keyboard, included effects are a tremolo, which modulates between upper- and lower-case at certain intervals; echo, which repeats keypresses; and a pitch-shift which outputs a “higher” character in the alphabet above whichever one has been pressed. Like the mouse, there’s also a crossover mode which allows the keyboard to be used as a mouse.

The device looks and feels like an effects pedal for a guitar would, with a RP2040 inside to intercept HID information, do the signal processing, and then output the result to the computer. And, while [Guy] admits this was a fun project with not many practical uses, there are a couple handy ones including potentially the distortion effect to smooth out mouse inputs for those with neuromuscular disorders or the mouse looper to act as a mouse jiggler for those with micromanaging employers. It’s also reprogrammable, and as we’ve seen since time immemorial having a programmable foot keyboard can be extremely handy for certain workflows.

Continue reading “An Effects Pedal For Keyboards (and Mice)”

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”