Questions tagged [capslock]

Caps lock is a lock key found on many computer keyboards, depending on the local keyboard layout they implement.

Typical Caps lock behaviour is that pressing the key sets an input mode in which all typed letters are uppercase by default (i.e. in All caps). The keyboard remains in caps lock mode until the key is pressed again.

Keyboards often include a small LED to indicate that Caps lock is active, either on the key itself or in a row with Scroll lock and Num lock indicators. While on the original IBM PC keyboard this LED was controlled by the keyboard itself, it is under software control of the computer since the introduction of the IBM AT. Some new laptop and wireless desktop keyboards lack the LED, instead providing software that gives an on-screen indicator.

The Caps lock key is a modified version of the Shift lock key that occupies the same position on the keyboards of mechanical typewriters.

158 questions
3
votes
3 answers

Caps Lock Image on Password Protected UITextField

I am creating an app that requires the use of a USB Keyboard. (The normal touch screen keyboard has been disabled and will not show up.) When the user installs the app for this first time, they will need to create a four digit Pin. The input field…
Chris Diggs
  • 193
  • 1
  • 9
3
votes
1 answer

Get CapsLock-state in JavaFX

I'm trying to build an input form with several checks. One of those is to check if CapsLock is active. It works if I try to build this function together with Java Swing, see code below. But in JavaFX, it DOES not work at all. I get the same state…
user2734182
  • 1,835
  • 4
  • 17
  • 22
3
votes
1 answer

Detecting when CAPS LOCK is ON

I have this code for adding a keypress to a password. If capslock is on it will trigger. I got it from How do you tell if caps lock is on using JavaScript? $("input[type='password']").keypress(function(e) { var $warn =…
guradio
  • 15,524
  • 4
  • 36
  • 57
3
votes
1 answer

How to preselect capslock in TouchKeyboard component

I am working with Delphi TTouchKeyboard component. Because in later use people will mainly use capital letters, I would like to preselect capslock. My problem now is, that the Touchkeyboard only changes its key caption when I click directly on a…
Airogat
  • 199
  • 1
  • 1
  • 10
3
votes
1 answer

Capslock ON & OFF with Application

I have the code below to change the state of the Caps Lock key when the application starts. I'd like to change the Caps Lock state to ON when I start the application (if it's already ON, then it should remain ON). When the application closes, the…
3
votes
0 answers

Emacs Windows - capslock doesn't enable uppercase typing

I have Emacs 24.1.1 for Windows. When I turn on the capslock key, Emacs doesn't enable uppercase typing. Capslock works in the rest of windows, and in my ssh'd terminals. I haven't done anything to modify the capslock key. w32-capslock-is-shiftlock…
Ashley
  • 829
  • 1
  • 5
  • 16
2
votes
0 answers

My VSC left panel explorer window is not consistent with the YT channel i am watching

I am working my way through a VSC beginner tutorial, taking me days but getting there and learning a great deal. I have 2 issues which appear to be only visual; 1/ I cannot figure why the YT's VSC folder structure looks consistent between her…
2
votes
0 answers

How do you check if CapsLock is initially on, without event listeners?

I have been looking through the answers to this Stack Overflow question, and it is pretty much just a ton of answers showing different ways to check if CapsLock is on, with some event listener. In those many solutions, I found one that I think is…
Jacob Hornbeck
  • 398
  • 2
  • 19
2
votes
2 answers

Check whether CAPSLOCK is on/off in C++

Hi I have this code which can record keystrokes and save it in dat.txt file, But it can't differentiate b/w upper and lowercase letters, It writes all the capital characters like "ABCDEFG" not "abcdefg". I need a code that checks whether capslock is…
Sorry IwontTell
  • 466
  • 10
  • 29
2
votes
1 answer

React native TextInput Component - showing caps lock icon when caps is activated

The caps lock icon is popping up as an inbuilt feature of React Native - TextInput component. I would like to style this icon so I can apply the right padding to it. No documentation on this feature, but seems to be turned on when secureTextEntry…
2
votes
1 answer

Check Capslock In Pygame.Key

I wrote a notetaking app, which provides with easier usage, but I cannot check whether the caps lock button is on or off. I can get the value when it is turned on, but there is not any response when it is turned off. In other words, I can get the…
antisycop
  • 93
  • 2
  • 10
2
votes
1 answer

Set or read Caps Lock state in Linux without using X-Windows

We are running Yocto Linux for an embedded application. I'm looking for a way to programatically control the Caps Lock state either through bash prompt or code, either set the state or read the state so that the state is known, without using…
Dan Eisenhut
  • 141
  • 1
  • 2
  • 8
2
votes
1 answer

Autohotkey: Require Capslock for Hotstring

The following autohotkey code :*:\alpha::α results in the hotstring text "\alpha" being continuously replaced by the corresponding UTF8 char "α". However, it would be quite annoying to always have this replacement enabled. So I figured to activate…
logical x 2
  • 311
  • 4
  • 18
2
votes
1 answer

AutoCAD VBA Sendkey turns on/off Caps Lock

I am using a few custom commands in AutoCAD that use the SendKeys command. Recently this started to turn on and off my Caps Lock and Num Lock and is somewhat unpredictable so I am looking for an alternative to the SendKeys command. What can I use…
M.T.
  • 31
  • 2
2
votes
2 answers

Digispark Read Capslock Status

I am very new to the digispark and I am only partly familiar with the DigisparkKeyboard\digikeyboard.h library. I am able to send keystrokes to the PC, but I also want to check whether CAPSLOCK is active on the host machine and also be notified…
Pranoy Sarkar
  • 1,965
  • 14
  • 31