Hacker News new | ask | show | jobs
by dcotter 4528 days ago
Why not replace caps lock with a double-tap of the Shift key? This has the advantages of distance (still close at hand when needed) and memorability (Shift upcases temporarily, Shift-Shift upcases indefinitely) and eliminates one of the less useful keys at the same time.
5 comments

Games. This is really, really bad for games.

Also, I tend to fiddle with keys, tapping shift nervously. Having this result in capslock would drive me nuts. It would be a deal-breaker if this functionality were in the keyboard firmware and not configurable.

And Shift-Shift-Shift activates Microsoft StickyKeys! (Is that still a thing in Win8?)
Just tried it in 8.1 and yes it is still a thing.
Does anyone know of any software that can do this (for OS X)? I think double-tap Shift to toggle Caps Lock would be pretty neat. Or even better, I'd like to program an action after double-Shift (or other modifier keys too, Control, Option, Command).

Edit: I got this to work using KeyRemap4MacBook, if anyone's interested, use this snippet in private.xml:

  <item>
    <name>Double-Shift to Caps Lock</name>
    <appendix>Double-tap ⇧ to Caps Lock</appendix>
    <identifier>double_tap_shift_to_caps_lock</identifier>
    <autogen>
      --DoublePressModifier--
      KeyCode::SHIFT_L,
      KeyCode::SHIFT_L,
      KeyCode::CAPSLOCK
    </autogen>
  </item>
I use https://pqrs.org/macosx/keyremap4macbook/ to remap caps lock to ctrl and hit both shift buttons simultaneously for caps lock.

Here's my custom config: https://github.com/joebadmo/dotfiles/blob/master/keyremap4ma...

That's exactly what the X1 Carbon did.