Files
firmware/right/src
Gergely Nagy 265988ee25 Better key state tracking
We need to store the previous state of the keys, to figure out when a specific
key is released, as opposed to simply not being pressed. This is required for
layer keys such as `Mod` and `Fn` to work properly when there are more than one
of them on the keymap.

Without being able to tell when a key is released, we would not be able to turn
a layer off only when no layer key is held. Not easily, anyway: we'd have to
track the state of all layer keys... but then it is easier to just track them
all.

Thankfully, the memcpy at the end is fast, as it only needs to copy 70 bytes.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-12-12 20:14:09 +01:00
..
2016-10-04 17:12:34 +02:00
2016-12-12 20:10:42 +01:00
2016-11-13 11:29:02 +01:00
2016-12-12 20:14:09 +01:00
2016-12-12 20:10:42 +01:00
2016-12-12 00:21:39 +01:00
2016-10-18 18:58:00 +02:00
2016-10-18 18:58:00 +02:00
2016-12-12 00:21:39 +01:00
2016-10-17 23:06:09 +02:00
2016-10-17 23:06:09 +02:00
2016-10-17 22:54:06 +02:00
2016-09-27 01:42:28 +02:00
2016-12-12 00:21:39 +01:00
2016-12-12 00:21:39 +01:00
2016-12-12 00:21:39 +01:00