Enter Your Project for a chance to win a Nano Grand Prize bundle for the most innovative use of Arduino plus a $400 shopping cart! Back to homepage | Project14 Home | |
Monthly Themes | ||
Monthly Theme Poll |
this projected has sincerely been evolved from Annoying 'CAPS' Lock Buzzer : Arduino Recipe
Cover Story:
The QWERTY keyboard debuted in 1873 on a typewriter could only produce capital letters. A few years later came the Shift key, which toggled the typewriter’s output between lowercase and uppercase letters. The Shift key physically shifted the internals of the typewriter, so it took some effort to press it down. Eventually, a Shift Lock key was created to hold it down. With Shift Lock engaged, letter keys produced their uppercase counterparts, but number keys produced symbols. That was a problem.
Doug Kerr was a telephone engineer working at Bell Labs in the 1960s. He watched his boss’s secretary repeatedly get frustrated after accidentally typing things like “$%^&” instead of “4567” in addresses because of Shift Lock.
So he did something about it. Doug Kerr invented the “CAP” key. CAP performed the same function as Shift Lock, except it only affected the letter keys.
“CAP” became Caps Lock, which made its way onto the computer keyboard, where it has remained part of the standard layout ever since.
No one likes it when you accidentally hit the Caps Lock key while on a typing roll and suddenly you are showing in a chat or even document. You have to go back and edit what you typed...Hard Times indeed! or,
Have you ever been in the middle of typing something, and then you get the uneasy feeling thaT YOU FLEW TOO CLOSE TO THE SUN AND NOW YOU HAVE TO REWRITE YOUR WORDS...agAIN?
Chromebooks have omitted Caps Lock in favor of a dedicated "Search" key. However, holding down ALT and pressing the SEARCH Key enables "Caps Lock", dominating every text until SHIFT is pressed.
The solution to this common issue has been addressed through cyber-age, while you can go to extreme levels of re-configuring the hardware through software, or you can simply plug-in the Arduino to your computer and get things done through LSS-method( little Skywalker style).
LSS-method
this projected has sincerely been evolved from Annoying 'CAPS' Lock Buzzer : Arduino Recipe
What about typing into your shell at lightning speeds and you accidentally pressed the vicious key?
What if, the key was pressed even before you started coding off?
What if you want to PRESS that key?
...you stand no chance(#challenge ), until the Arduino has been PLUGGED.
It only requires a plain old Arduino Pro Micro to make your own CAP!HACK
hence after, modifying some scripts within the IDE
CODE:
#include "HID-Project.h"
const int pin = 3;
void setup() {
pinMode(pin, OUTPUT);
// Sends a clean report to the host. This is important on any Arduino type.
BootKeyboard.begin();
}
void loop() {
// Update Led equal to the caps lock state.
// Keep in mind that on a 16u2 and Arduino Micro HIGH and LOW for TX/RX Leds are inverted.
if (BootKeyboard.getLeds() & LED_CAPS_LOCK)
{
digitalWrite(pin, HIGH);
BootKeyboard.write(KEY_CAPS_LOCK);
delay(5); // 5usec; you may try to even lower that out for automated scripts..it Works!
}
else
digitalWrite(pin, LOW);
}
Hey, we even have our DAY..
The June 28 and October 22 are semiannually observed as INTERNATIONAL CAPS LOCK DAY as a parody holiday created in October 2000 by Derek Arnold, a user on Metafilter. The second observation on June 28 was added by Arnold in memory of American pitchman Billy Mays.
Currently, we are fighting a global war against Pandemic Coronavirus(Covid-19), but I was surprised to find similar :: stuff for the blog.