buffyboard: add sticky_shift config option
Adds a keyboard config option to control shift key behavior. When sticky_shift is enabled (default), the keyboard remains in uppercase mode until the shift key is pressed again. When disabled, the keyboard switches back into lowercase mode when a non-modifier key is pressed.
This commit is contained in:
parent
32b4e069bd
commit
c3e12af143
6 changed files with 22 additions and 0 deletions
|
|
@ -17,6 +17,9 @@
|
|||
typedef struct {
|
||||
/* If true, vibrate on key presses */
|
||||
bool haptic_feedback;
|
||||
/* If true, remain in uppercase mode until shift is pressed again.
|
||||
* If false, switch back to lowercase after a non-modifier key is pressed. */
|
||||
bool sticky_shift;
|
||||
} bb_config_opts_keyboard;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue