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
0
votes
2 answers

obj-c IOS detect capslock keypress event

I'm writing my own buttons for special chars, which are not included in the native iOS keyboard. These buttons appear above the native keyboard. And some of my buttons need to determine if capslock is pressed. Is it possible to detect the capslock…
bsnbk
  • 21
  • 5
0
votes
3 answers

Vim remap: Where does the Capslock go?

Ok, I'm convinced that I need remap Esc in vim. My choice is to use Capslock as common. But my question is: Where does the Capslock functionality go? To Esc place? Don't use at all (use selection+'U' to uppercase)? Any other? What do you think…
Gilney
  • 381
  • 1
  • 4
  • 15
-1
votes
1 answer

pyqt6 subprocess.run function always returns the same value even if the caps lock status changes

Since the keyboard indicator widget cannot be run on my kali system, I decided to write one myself using pyqt. I found that it would be normal if I separated the program and ran it, but not with pyqt6. It runs normally on Windows, but a very strange…
Sepu Ling
  • 1
  • 2
-1
votes
3 answers

How to reverse caps lock in a string in python?

I have a string that can either be written with caps lock or not. "With caps lock" means that it is either is like tHIS or like THIS. It is easy enough to detect the second case with "isupper()" function, but I wasn't able to find a way to find the…
Ive
  • 51
  • 1
  • 7
-1
votes
1 answer

How to make a CAPS LOCK indicator using PYTHON on Windows

i wanted to make a caps-lock and num-lock indicator using python on windows, but i dont know how to start with and what all modules and library i need to implement my desired output. THE OUTPUT i desire is that whenever i press CAPS-LOCK the borders…
-1
votes
2 answers

C++ X11 get status of the caps lock

I need get the state of the CAPS LOCK using C++. I tried to get the state using XkbGetIndicatorState, but it doesn't work. Can someone help me?
-2
votes
0 answers

Running two codes at the same time

C# windows application I want the code to be like this: 1-receive a text and 2-show caps lock is on or not, at the same time. Please fix this? Thanks. using System; namespace ConsoleApplication89 { class Program { static…
-2
votes
1 answer

Detect caps lock on/off using JavaScript

I can be trying the registration Form and the detection caps lock is on or off showing a warning under confirm password (WARNING! caps lock is on/WARNING! caps lock is off) Wwhen I press capslock (caps lock is on) then shows a warning completely but…
1 2 3
10
11