]> git.donarmstrong.com Git - qmk_firmware.git/commit
Add a timeout to space-cadet shift.
authorGergely Nagy <algernon@madhouse-project.org>
Sat, 19 Nov 2016 10:32:09 +0000 (11:32 +0100)
committerGergely Nagy <algernon@madhouse-project.org>
Sat, 19 Nov 2016 10:32:09 +0000 (11:32 +0100)
commitffa5b1e7ea6697acf9ebfcade1149031642f7870
tree6ad5aa88a107c38631b87b61bbdf75803ea10c1c
parenta06115df19a74d39b08758472b221e630c3680d3
Add a timeout to space-cadet shift.

When one holds a Space Cadet shift, to have it act as a shift, so that
mouse behaviour changes, when released without any other key pressed, it
still registers a paren. To remedy this, add a hold timeout: if the key
is held longer than TAPPING_TERM, it will not register the parens.

Fixes #884, with the side-effect of not being able to have parens
trigger the OS-side repeat anymore.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
quantum/quantum.c