Locking Caps Lock Key

ArtoriasEdgeworth

20 May 2016, 16:06

How would II program a locking Caps key onto a Teensy? Anyone have any ideas/links to other conversations that have answers to this??

User avatar
Dra

20 May 2016, 16:57

A workaround would be just programming it to act as shift key, wouldn't it?

User avatar
Muirium
µ

20 May 2016, 17:05

Problem needs more definition. Vague problems invite vague snarky answers!

User avatar
Spikebolt
√(4) != -2

20 May 2016, 17:33

Dra wrote: A workaround would be just programming it to act as shift key, wouldn't it?
This sounds pretty clever, though it may have undesired results when you type numbers with the caps lock on.

User avatar
Ray

20 May 2016, 22:18

As Mu pointed out, we don't know what is desired.

If you want standard behaviour with a keyboard that has a locking key for capslock, TMK supports that.

Findecanor

20 May 2016, 22:30

There is a key code in the USB HID standard for a locking Caps Lock keys but I don't think that there is any support for it in any OS.
What the "TMK Keyboard" firmware does is a workaround: comparing the key state with the state of the Caps Lock LED.

TMK Keyboard on Github, Offical thread on Geekhack.

User avatar
Chyros

21 May 2016, 11:51

I THINK the way it's done in my ADB adapter is it immediately sends the break code after you push it, a bit like the pause key.

ArtoriasEdgeworth

23 May 2016, 15:24

I'm looking for a caps lock key that locks down when pressed, and only affects the letter keys.
Terribly sorry about the poor form and lack of specificity on the request, I'll be the first to admit, I don't frequent forums all that often, and asking for help isn't my forte.

User avatar
Muirium
µ

23 May 2016, 15:27

Which keyboard? Or is that the answer you're looking for?

ArtoriasEdgeworth

23 May 2016, 15:45

I am replacing the keyswitches on my MagicForce 68 and I'm working on finding an MX Lock to install on the board.

giokkk

23 May 2016, 15:46

Hi Artorias, on my Model F XT I'm using the Scroll Lock key as Caps Lock with a Soarer's Converter, locks down when pressed
and only affects the letter keys.

User avatar
Muirium
µ

23 May 2016, 15:51

Oh, I get it. He's talking about a custom keyboard, or at least putting in his own latching switch. (Latching is the term for a key that really does physically stay down until pressed a second time. Like the mechanism in many ballpoint pens.)

vendors-f52/cherry-mx-lock-keys-t13794.html

The XT's a superb feeling board, but no buckling spring can latch. They return home on every key press.

Anyway: good news. MX Locks (if you can find one) are compatible with TMK, I'm sure.

ArtoriasEdgeworth

23 May 2016, 15:53

Hah, finding one is more difficult than I had expected...
I'm more than glad to see there's compatibility! Thanks, I'd like to apologize for my lack of knowledge on these matters.

ArtoriasEdgeworth

23 May 2016, 15:54

Also, what in the world is 'TMK?'

User avatar
Muirium
µ

23 May 2016, 15:57

Hasu's keyboard firmware. It can drive a keyboard internally as its controller, or convert it from many old things to USB. (I don't recall what the letters TMK actually stand for. Initialisms drive me nuts.) More about it here:

workshop-f7/how-to-build-your-very-own- ... t7177.html

Too technical for my liking. But lots of people love it.

ArtoriasEdgeworth

23 May 2016, 16:02

Thank you, so much. You've been very helpful, sirs/madams!

User avatar
Muirium
µ

23 May 2016, 16:05

That's DT!

Post Reply

Return to “Keyboards”