View Single Post
  #1   (View Single Post)  
Old 3rd February 2013
tehsean tehsean is offline
Custom User
 
Join Date: Aug 2010
Posts: 22
Default StickyKeys -esque functionality in CLI?

In X, there's xkbset, which you can use to turn on StickyKeys. StickyKeys, for those unfamiliar, allows the modifier keys (Shift and Ctrl) to 'stick' until the next key press. It's handy for those with accessibility issues, and in my case, for a PC that has a thumb-board as the default text input.

Is there any way to have this same StickyKeys behavior in the terminal?

From what I've read, you can change the keymaps with wsconsctl, but it looks like /usr/include/dev/wscons/wsksymdef.h doesn't have a keycode for sticky modifiers, so even if I change the keymap, it may not help.

Also, is there a way to see the key event codes as keys are pressed?
I would like to make a shortcut key for terminal switching, as the current stroke is a 4 key monstrosity (FN+CTRL+ALT+[1-5].

Thanks in advance~

Last edited by tehsean; 3rd February 2013 at 04:33 AM. Reason: durr- wrong program name
Reply With Quote