element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
NanoRama
  • Challenges & Projects
  • Project14
  • NanoRama
  • More
  • Cancel
NanoRama
Blog Hacking your CAPS-Lock using ProMicro
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join NanoRama to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ankur608
  • Date Created: 20 Mar 2020 8:58 PM Date Created
  • Views 984 views
  • Likes 6 likes
  • Comments 0 comments
  • hack
  • nanoramach
  • arduino pro micro
  • nanorama-party
  • nanoramach!
Related
Recommended

Hacking your CAPS-Lock using ProMicro

ankur608
ankur608
20 Mar 2020
image

NanoRama

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!

Submit an EntrySubmit an Entry  Back to homepage image
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.

image

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).

- Disabling it on mac

- Re-Mapping on Windows

 

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.

 

image

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);

}

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

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.

STAY HEALTHY, STAY SAFE. image

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube