News for hackers. Stuff that matters.
Re:Keyboard that shocks you if you type with incorrect techn... by Lemmih on Saturday January 30, 2021 @01:37AM (#25966823)
I have a bad habit of pressing shift with the same hand I use to hit a character. Eg. I'd hit Shift_L + T (both left hand) instead of Shift_R + T (hand hand for T, right hand for Shift_R). I wish that was an easy way to configure my shift keys to only modify keys on the opposite side of the keyboard. It's kinda possible through xmodmap but it's a PITA to set up.
Re:Keyboard that shocks you if you type with incorrect techn... by function_seven on Saturday January 30, 2021 @01:52AM (#25966891)
I use a QMK keyboard, and wrote some code for the firmware that would enforce this in the keyboard itself. "Naughty" combinations like you listed would just NO_OP instead of emitting a scan code.

It was frustrating as hell. Which, I guess is the point at first. But I got tired of it faster than I learned to balance the key presses.

I wonder if just a small beep or other subtle signal would work? Allow the wrong combo, but give the typist some feedback.

Re:Keyboard that shocks you if you type with incorrect techn... by Ambroisie on Saturday January 30, 2021 @05:49AM (#25968037)
Do you have a hosted version of that source code somewhere? I have been thinking about doing this with my own keyboard at some point.
Re:Keyboard that shocks you if you type with incorrect techn... by function_seven on Saturday January 30, 2021 @02:31PM (#25972140)
Okay this is wild. I went looking to see if I could find the file, and came up empty. I don’t know what I did with it. Then I started wondering if I really did do this or if I had done it in autohotkey instead.

So then I searched to see if somebody else had created one, and found this[1]

I wrote that!

So there’s my file. I don’t know if I made any improvements to it since posting that, since I can’t find it anymore. Let me know if you encounter any bugs.

[1] https://www.reddit.com/r/olkb/comments/8mxpdp/qmk_code_to_en...

Re:Keyboard that shocks you if you type with incorrect techn... by desmap on Saturday January 30, 2021 @01:48AM (#25966864)
Use Autohotkey, it's not really a big thing, e.g.

<+t::return